After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 667365 - Free space should be selected by default
Free space should be selected by default
Status: RESOLVED FIXED
Product: gparted
Classification: Other
Component: application
0.8.0
Other Linux
: Normal enhancement
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2012-01-05 15:08 UTC by Phillip Susi
Modified: 2013-03-19 16:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Phillip Susi 2012-01-05 15:08:32 UTC
When you open gparted, the menu option to create a new partition is disabled because it is only active while free space is selected, and initially, no partition is selected.  The free space should default to be selected so that the create menu option is active by default.
Comment 1 Curtis Gedak 2013-03-12 01:04:52 UTC
This request will be resolved with the refactored code included in the
following enhancement:

Bug #685740 - Refactor to use asynchronous command execution
Comment 2 Curtis Gedak 2013-03-16 15:23:13 UTC
Problems have been discovered with this enhancement.  Specifically only the largest free space outside of the extended partition is selected, and Mike Fleetwood has reported a double refresh/flicker problem.

See,
https://bugzilla.gnome.org/show_bug.cgi?id=685740#c95
Comment 3 Mike Fleetwood 2013-03-19 09:51:00 UTC
Issue with only selecting the largest free primary partition has been 
resolved and the fix has been committed to GParted.  For details see:

https://bugzilla.gnome.org/show_bug.cgi?id=685740#c107


To investigate the double refresh I added this line to the start of the
Win_GParted::Refresh_Visual() function:

std::cout << "D: Refresh_Visual()  To continue press [Return]"; std::string line; getline(std::cin, line);

I get a single refresh in these cases:
* Startup and initial drive displayed
* Add an operation
* Undo an operation

and a double refresh in these cases:
* Press [Ctrl-R] to rescan devices
* Rescan after applying all operations

Investigation continues
Comment 4 Curtis Gedak 2013-03-19 16:50:29 UTC
A new bug report has been created to track the "double refresh/flicker" problem.

See:
Bug #696149 - Double refresh of display introduced with default
              unallocated space selection


The enhancement to select the largest unallocated space by default has been included in GParted 0.15.0 released on March 19, 2013.