[Bug 1164783] Re: during manual partitioning, the size is off-by-one, this causes unexpected resizing

Launchpad Bug Tracker 1164783 at bugs.launchpad.net
Tue Sep 3 23:29:47 UTC 2013


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ubiquity (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1164783

Title:
  during manual partitioning, the size is off-by-one, this causes
  unexpected resizing

Status in “ubiquity” package in Ubuntu:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1164783/+subscriptions




More information about the foundations-bugs mailing list