Bug 410429 - Cancel button works like OK button for Python plugin settings
Summary: Cancel button works like OK button for Python plugin settings
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 5.2.11
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-30 20:10 UTC by Karl Ove Hufthammer
Modified: 2025-09-11 15:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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