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 660661 - Wrong file size calculation
Wrong file size calculation
Status: RESOLVED DUPLICATE of bug 665005
Product: nautilus
Classification: Core
Component: general
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-10-01 23:14 UTC by Alexandr Grigorcea
Modified: 2012-05-07 20:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexandr Grigorcea 2011-10-01 23:14:31 UTC
In files properties dialog I get this
1.5 GB (1,468,003,564 bytes)
but it is actually 1400 MB or 1.37 GB
I suppose it is because of division by 1000 and not by 1024

the size of 1.5GB is shown everywhere for that file
Comment 1 Robert Roth 2011-12-22 08:10:58 UTC
1,468,003,564 bytes = 1,433,597.23 KiB = 1,399.99 MiB = 1.367 GiB
1,468,003,564 bytes = 1,468,003.56 kB = 1468 MB = 1.468 GB
So the information displayed is correct, as it is rounded up to 1.5 GB. The question is which unit do people want to see? See the very long discussion on this in bug 554172.
Comment 2 Cosimo Cecchi 2012-05-07 20:13:32 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 665005 ***