Bug 427623 - Checkbox state is incorrect after we cancel the dialog to save changes in mount point to fstab file
Summary: Checkbox state is incorrect after we cancel the dialog to save changes in mou...
Status: CONFIRMED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-13 09:21 UTC by Patrick Silva
Modified: 2020-10-13 21:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-10-13 09:21:52 UTC
STEPS TO REPRODUCE
1. open kpm
2. right-click on a unmounted partition, choose "Edit mount point"
3. check anything under "Options"
4. click on "Ok" button (kpm asks for confirmation to save changes to fstab file)
5. click on "Cancel" button

OBSERVED RESULT
option checked in the step 3 unexpectedly remains checked

EXPECTED RESULT
option checked in the step 3 should not be checked

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.0
Comment 1 Andrius Štikonas 2020-10-13 10:51:49 UTC
Already fixed, new release this Friday.

*** This bug has been marked as a duplicate of bug 417205 ***
Comment 2 Andrius Štikonas 2020-10-13 10:54:14 UTC
Actually, this is a bit strange since you mention that you are on neon unstable edition. Shouldn't it have latest git version?
Comment 3 Patrick Silva 2020-10-13 10:56:47 UTC
this is a different bug.
bug 417205 is fixed on neon unstable.
Comment 4 Andrius Štikonas 2020-10-13 21:21:38 UTC
Ok, I can reproduce this.

ALthough, I'm not sure if it was expected for me that dialog should be back to initial state after clicking "Cancel" button.

It should be easy to implement this though. At the moment once you click cancel, nothing is done, we would have to restore initial state before user edited options and mount point.