← Back to team overview

desktop-packages team mailing list archive

[Bug 1467086] Re: Calculating wrong file sizes!

 

See also http://en.wikipedia.org/wiki/MiB

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1467086

Title:
  Calculating wrong file sizes!

Status in gnome-terminal package in Ubuntu:
  Incomplete

Bug description:
  For example, on Nautilus, the properties menu will show the following data about a file:
  Name: Aptana_Studio_3_Setup_Linux_x86_64_3.6.1.zip
  Type: Zip archive (application/zip)
  Size: 123,7 MB (123.680.508 bytes)
  The size in bytes is OK! 
  But, by my calculation, in MB the size is wrong:
  123.680.508 / (1024 * 1024) =~ 117,95 (MB)
  instead
  123.680.508 / (1000 * 1000) =~ 123,68 (MB)
  Thank you!
  Cris

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: gnome-terminal 3.14.2-0ubuntu3
  ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8
  Uname: Linux 3.19.0-21-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Jun 20 14:15:44 2015
  ExecutablePath: /usr/lib/gnome-terminal/gnome-terminal-server
  InstallationDate: Installed on 2014-11-30 (202 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  SourcePackage: gnome-terminal
  UpgradeStatus: Upgraded to vivid on 2015-05-19 (32 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1467086/+subscriptions


References