during manual partitioning, the size is off-by-one, this causes unexpected resizing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
13.04 Beta1 UbuntuStudio 64 bit
Run the Installer and choose "Something Else"
on the manual partitioning "Installation Type" screen, choose a partiton and click the [Change] button.
a dialog will open with the current size of the partition and the ability to change that size.
Bug: compare the size that you see in the dialog, to the size of the partition as reported in the main window. The size is off-by-one. see attached screenshot
This causes the partitioner to go into resize mode, even when you do not intend to alter the size.
Furhtermore, even if you change the size in the dialog to be the same as the size in the main window, it still enters resize mode when the dialog is closed. This may be due to a "value changed" flag, or this may be due to the error induced by rounding sectors to the nearest megabyte.
Note: on this computer, the partitons are not track aligned. this might make a difference in this behavior.
Expected:
1) There should not be an off-by-one error
2) The only proper way to decide if a resize is needed is to compare the original value that was placed into the Change dialog, to the value that was returned from the dialog. This comparision must be preformed on the numeric value so as to avoid getting confused by leading zeros and space characters etc. Only if the values are different should the resize action be invoked.
Furthermore it may make sense to limit it to some minmum threshold, does it really make sense to resize a partition by less than N megs? Anything less than 100 megs is probably a mistake.
description: | updated |
Changed in ubiquity (Ubuntu): | |
importance: | Undecided → High |
tags: | added: ubi-partman |
tags: | added: raring |
Changed in ubiquity (Ubuntu): | |
importance: | High → Medium |
perhaps it helps to know that this bug does NOT exist in 12.04