#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)
Change History (4)
by , 16 years ago
Attachment: | deluge_patch1 added |
---|
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Component: | 0.5.x → gtkui |
---|---|
Milestone: | → 1.0.0 |
Resolution: | → fixed |
Status: | new → closed |
Version: | 0.5.x_svn → 0.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.
Note:
See TracTickets
for help on using tickets.
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)