Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#431 closed bug (Fixed)

KiB, MiB and GiB are counted as powers of 1000 instead of 1024.

Reported by: Lajnold Owned by: markybob
Priority: trivial Milestone:
Component: GTK UI Version: 0.9.06 (1.0.0_RC6)
Keywords: Cc:

Description

In various parts of the GUI, KiB, MiB and GiB are counted as powers of 1000 instead of 1024, which I noticed when "Uploaded" for a torrent went straight from "999 MiB" to "1 GiB".

Attachments (1)

deluge_patch1 (641 bytes ) - added by anonymous 16 years ago.

Download all attachments as: .zip

Change History (4)

by anonymous, 16 years ago

Attachment: deluge_patch1 added

comment:1 by Lajnold, 16 years ago

In retrospect, the "problem" is actually rounding done from the format string(s). The previously posted patch solves it, but whether it should be included depends on whether the intention is to show numbers very close to the next "unit" as being exactly 1.0 of that "unit". Personally, I think it should be shown as 1000-1023 of the smaller "unit" before it changes.

(Where "unit" refers to KiB, MiB and GiB)

comment:2 by andar, 16 years ago

Component: 0.5.xgtkui
Milestone: 1.0.0
Resolution: fixed
Status: newclosed
Version: 0.5.x_svn0.9.06 (1.0.0_RC6)

Agreed. This has been fixed in [3719] although only for trunk and the 1.0.0_RC branch. The 0.5.x branch is pretty much defunct at this point.

comment:3 by (none), 16 years ago

Milestone: 1.0.0

Milestone 1.0.0 deleted

Note: See TracTickets for help on using tickets.