Bug 410429

Summary: Cancel button works like OK button for Python plugin settings
Product: [Applications] krita Reporter: Karl Ove Hufthammer <karl>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: griffinvalley
Priority: NOR    
Version First Reported In: 5.2.11   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Karl Ove Hufthammer 2019-07-30 20:10:59 UTC
SUMMARY
For the ‘Python Plugin Manager’ category in the Krita settings, the ‘Cancel’ button effectively works as an ‘OK’ button, i.e. it *applies* the changes instead of abandoning them. (I would guess the root cause is that the Python plugin changes are applied when clicking the checkboxes instead of when clicking the ‘OK’/‘Cancel’ button.)

STEPS TO REPRODUCE
1. Go to ‘Settings → Configure Krita → Python Plugin Manager’.
2. Make some changes (enable/disable a few plugins).
3. Click ‘Cancel’.
4. Go to ‘Settings → Configure Krita → Python Plugin Manager’.

OBSERVED RESULT
The changes made in step 2 have been applied (a few plugins have been enabled/disabled).


EXPECTED RESULT
Clicking ‘Cancel’ (instead of ‘OK’) in step 3 should be have cancelled the changes made in step 2, so that the list of enabled/disabled plugins should be the same in step 1 and 4.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20190726
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0
Kernel Version: 5.2.2-1-default
OS Type: 64-bit


ADDITIONAL INFORMATION
For the other settings categories, the ‘Cancel’ button seems to work (though I haven’t test all the categories).
Comment 1 Vitamorus 2025-09-11 15:42:47 UTC
Re-confirming this bug for 5.2.11