Why the Transmission UI (I use Transmission GTK v2.52 b13304) displays sizes as follows:
- KB = 1000 B
- MB = 1000 000 B
- GB = 1000 000 000 B
I think that instead it should display normal KiB, MiB, GiB units which are based on powers of 2. Current size representation is misleading.
I'd be pleased to see:
- KiB = 2^10 B
- MiB = 2^20 B
- GiB = 2^30 B
In addition, the download/upload rates are displayed as kB which does not conform with the size units displayed as KB.
Unit of Measure
Re: Unit of Measure
That's an old change, triggered by a request just like yours, see Ticket #3174.
Actually its a bunch of tickets, #4057, #3045, and the dreaded #4703.
Actually its a bunch of tickets, #4057, #3045, and the dreaded #4703.
Re: Unit of Measure
This seems to be a neverending issue.
It should be either:
- clearly stated that 2^y or 10^x units are used and commented in the code so that there are no attempts to "fix" this again and again
or
- made configurable application-wide
I understand HDD manufacturers who use the powers of 10 to make their disks look larger but software uses the powers of 2 (mac is religion, not software).
The fix should be very easy: https://trac.transmissionbt.com/browser ... gtk/util.c
const int mem_K = 1024;
const char * mem_K_str = N_("KiB");
const char * mem_M_str = N_("MiB");
const char * mem_G_str = N_("GiB");
const char * mem_T_str = N_("TiB");
const int disk_K = 1000;
const char * disk_K_str = N_("kB");
const char * disk_M_str = N_("MB");
const char * disk_G_str = N_("GB");
const char * disk_T_str = N_("TB");
const int speed_K = 1000;
const char * speed_K_str = N_("kB/s");
const char * speed_M_str = N_("MB/s");
const char * speed_G_str = N_("GB/s");
const char * speed_T_str = N_("TB/s");
It should be either:
- clearly stated that 2^y or 10^x units are used and commented in the code so that there are no attempts to "fix" this again and again
or
- made configurable application-wide
I understand HDD manufacturers who use the powers of 10 to make their disks look larger but software uses the powers of 2 (mac is religion, not software).
The fix should be very easy: https://trac.transmissionbt.com/browser ... gtk/util.c
const int mem_K = 1024;
const char * mem_K_str = N_("KiB");
const char * mem_M_str = N_("MiB");
const char * mem_G_str = N_("GiB");
const char * mem_T_str = N_("TiB");
const int disk_K = 1000;
const char * disk_K_str = N_("kB");
const char * disk_M_str = N_("MB");
const char * disk_G_str = N_("GB");
const char * disk_T_str = N_("TB");
const int speed_K = 1000;
const char * speed_K_str = N_("kB/s");
const char * speed_M_str = N_("MB/s");
const char * speed_G_str = N_("GB/s");
const char * speed_T_str = N_("TB/s");