GNOME Bugzilla – Bug 689362
Should be possible to enter partition size in GB
Last modified: 2012-12-01 14:02:33 UTC
The "Create partition" dialog has these: 1. Slider to visually set the partition size with respect to free space 2. Numerical entry for partition size in MB 3. Numerical entry for free space in MB I have a 1 TB hard drive, and wanted a 700 GB partition. Not paying much attention to the label beside the entry in (2), I typed "700". I thought, "why does the slider not update" - in fact it did, but it was showing 700 MB, almost nothing compared to the full 1 TB range of the slider. Then I realized that it was *megabytes*, not gigabytes. I had to do "700 * 1024" in a calculator and type that in. Maybe instead of [_____] MB there should be a drop-down for MB/GB? [_____] [v GB]
I guess we could do this. We'd want two combo-boxes, both for "Partition Size" and "Free Space Following" and keep them synchronized. And then default to something sane so numbers are 3-ish digits. Heck, we could even include nerdy units like MiB and GiB. We could also just default to whatever unit is appropriate - in the 1TB disk case it would be GB - and not have any combo boxes _at all). But then you have the "power users" complaining, for example bug 643159 comment 4. The easiest thing is probably to just add the combo boxes.
Alright, I've implemented this, see http://git.gnome.org/browse/gnome-disk-utility/commit/?id=81f7bd32056e7479751c2c661c54cfc4b399de72 http://people.freedesktop.org/~david/gnome-disks-create-partition-unit-combobox.png
Nice, thank you!