Opened 6 years ago

Closed 6 years ago

#1960 closed bug (Fixed)

Web UI statusbar shows total_payload_download for upload

Reported by: krip Owned by: Cas
Priority: minor Milestone: 1.3.4
Component: Web UI Version: 1.3.3
Keywords: Cc:

Description (last modified by Cas)

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?

Change History (3)

comment:1 Changed 6 years ago by Cas

  • Component changed from other to webui
  • Description modified (diff)
  • Milestone changed from Future to 1.3.4
  • Owner set to damoxc

comment:2 Changed 6 years ago by Cas

  • Owner changed from damoxc to Cas
  • Status changed from new to accepted

comment:3 Changed 6 years ago by Cas

  • Resolution set to fixed
  • Status changed from accepted to closed

Fix committed to 1.3-stable:714b7f3c5

Note: See TracTickets for help on using tickets.