This patch attempts to fix this bug by modifying the behavior of gparted on refreshes (including startup):
Before, selected partition was always "cleared" on refreshes - now we search the list of partitions, and check if there is any marked as "unallocated" - in this case, select it. If all partitions are allocated (or there is no free space on device), no partition is selected.
I'd be glad if someone could give a little more testing to this patch, as I only was able to test it locally.
This patch attempts to fix this bug by modifying the behavior of gparted on refreshes (including startup):
Before, selected partition was always "cleared" on refreshes - now we search the list of partitions, and check if there is any marked as "unallocated" - in this case, select it. If all partitions are allocated (or there is no free space on device), no partition is selected.
I'd be glad if someone could give a little more testing to this patch, as I only was able to test it locally.