[Bug 130282] [NEW] CD/DVD Creator using incorrect file size units

Launchpad Bug Tracker 130282 at bugs.launchpad.net
Thu Nov 20 14:43:16 GMT 2008


You have been subscribed to a public bug:

Binary package hint: nautilus

The Nautilus CD/DVD Creator function is using completely wrong file size
units in its dialogs.

I have an example file:

$ ls -lh --si
total 1.2G
-rwxr--r-- 1 joeljkp joeljkp 1.2G 2007-08-02 23:03 file.7z
$ ls -lh
total 1.1G
-rwxr--r-- 1 joeljkp joeljkp 1.1G 2007-08-02 23:03 file.7z
$

Notice that that's 1.2 gigabytes in SI form (1GB = 1000^3 bytes), and
1.1 gigabytes in non-SI form (1GB = 1024^3 bytes, equiv. to 1.1
gibibytes).

When I put this file into the CD/DVD Creator, it shows the file size as
1.1GB (obviously using the non-standard notation).

However, when I press the Write to Disc function, it states "Data Size:
1.0 GiB".

This means that this dialog is trying to use gibibytes by assuming the
file listing is using SI gigabytes. This assumption is wrong, leading to
all kinds of confusion.

Either the Write to Disc dialog should say "1.1 GB" (keeping with non-
standard notation), "1.1 GiB" (standard binary notation but not
internally consistent with the file listing), or "1.2 GB" (again,
standard notation but not internally consistent with the file listing).

ProblemType: Bug
Architecture: i386
Date: Fri Aug  3 19:43:34 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/nautilus
Package: nautilus 1:2.18.1-0ubuntu1
PackageArchitecture: i386
ProcCmdline: nautilus --no-default-window --sm-client-id default2
ProcCwd: /home/joeljkp
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/joeljkp/Software/bin
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux joel-laptop 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

** Affects: nautilus
     Importance: Unknown
         Status: Confirmed

** Affects: nautilus-cd-burner (Ubuntu)
     Importance: Low
     Assignee: Ubuntu Desktop Bugs (desktop-bugs)
         Status: Triaged

-- 
CD/DVD Creator using incorrect file size units
https://bugs.edge.launchpad.net/bugs/130282
You received this bug notification because you are a member of Ubuntu Burning Team, which is subscribed to nautilus-cd-burner in ubuntu.



More information about the Ubuntu-burning mailing list