After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 693630 - use SI units (MB, GB, ...) when talking about disk sizes
use SI units (MB, GB, ...) when talking about disk sizes
Status: RESOLVED FIXED
Product: system-monitor
Classification: Core
Component: disk list
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Robert Roth
System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2013-02-12 03:35 UTC by Matthias Clasen
Modified: 2013-02-14 22:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use IEC units for memory size and SI units for disk size (4.62 KB, patch)
2013-02-14 09:46 UTC, Robert Roth
none Details | Review

Description Matthias Clasen 2013-02-12 03:35:10 UTC
This is what the rest of the desktop does, compare nautilus, baobab, gnome-control-center details - IEC units (MiB, GiB,...) should only be used when reporting sizes that have a strong "power of 2" basis, such as RAM sizes or RAID strip sizes.

Full disclosure: this is an issue with a long history, see bug 318718
Comment 1 Robert Roth 2013-02-13 01:01:18 UTC
This should affect only the values displayed on the File systems tabs, right? In the process list we do display only memory sizes, so that should remain with IEC units, but the file systems tab should use SI?
Comment 2 Robert Roth 2013-02-13 01:03:14 UTC
This should affect only the values displayed on the File systems tab, right? On the Processes tab we continue using IEC units for memory usage, but for disk usage we should use SI units? Just asking to make sure I understand this correctly.
Comment 3 Matthias Clasen 2013-02-13 22:28:34 UTC
Yes. Compare the details panel in gnome-control-center - we say 

Memory: 3.7 GiB

but

Disk: 175.7 GB
Comment 4 Robert Roth 2013-02-14 09:46:26 UTC
Created attachment 236023 [details] [review]
Use IEC units for memory size and SI units for disk size 

The patch changes the custom format_size method to the g_format_size method to format memory and disk sizes in the appropriate format.
Comment 5 Robert Roth 2013-02-14 22:36:12 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.