#1960: Web UI statusbar shows total_payload_download for upload
-------------------+--------------------------------------------------------
 Reporter:  krip   |       Owner:  damoxc
     Type:  bug    |      Status:  new   
 Priority:  minor  |   Milestone:  1.3.4 
Component:  webui  |     Version:  1.3.3 
 Keywords:         |  
-------------------+--------------------------------------------------------
Changes (by Cas):

  * owner:  => damoxc
  * component:  other => webui
  * milestone:  Future => 1.3.4


Old description:

> It seems there is a small data read-out bug in the web ui statusbar. The
> text will show for instance:
>
> Downloaded: 16.1 GiB (1.3 GiB)
> Uploaded: 15.7 GiB (1.3 GiB)
>
> Download and upload amount in the parentheses (listing total for current
> session?) is always the same. Code suggests it is reporting
> total_payload_download for both variables:
>
> From deluge-1.3.3/deluge/ui/web/js/deluge-all/details/StatusTab.js:
>
> data.downloaded += ' (' + ((status.total_payload_download) ?
> fsize(status.total_payload_download) : '0.0 KiB') + ')';
> data.uploaded += ' (' + ((status.total_payload_download) ?
> fsize(status.total_payload_download): '0.0 KiB') + ')';
>
> Guessing it should use total_payload_upload for data.uploaded variable?

New description:

 It seems there is a small data read-out bug in the web ui statusbar. The
 text will show for instance:

 {{{
 Downloaded: 16.1 GiB (1.3 GiB)
 Uploaded: 15.7 GiB (1.3 GiB)
 }}}

 Download and upload amount in the parentheses (listing total for current
 session?) is always the same. Code suggests it is reporting
 total_payload_download for both variables:

 From deluge-1.3.3/deluge/ui/web/js/deluge-all/details/StatusTab.js:
 {{{
 data.downloaded += ' (' + ((status.total_payload_download) ?
 fsize(status.total_payload_download) : '0.0 KiB') + ')';
 data.uploaded += ' (' + ((status.total_payload_download) ?
 fsize(status.total_payload_download): '0.0 KiB') + ')';
 }}}
 Guessing it should use total_payload_upload for data.uploaded variable?

--

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/1960#comment:1>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to