STEPS TO REPRODUCE 1. In the clipboard applet, go "Configure Clipboard" 2. Go to "Shortcuts" 3. Change any shortcut setting 4. Click cancel 5. Open settings again OBSERVED RESULT The change was applied EXPECTED RESULT The change was discarded SOFTWARE/OS VERSIONS KDE Plasma Version: master KDE Frameworks Version: master Qt Version: 6.6
Also happens on 5.27
bad bot
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/200
Git commit b7365dfc6e7418b4214d671b27c0f8a67bc07021 by Christoph Cullmann, on behalf of Nicolas Fella. Committed on 24/10/2023 at 21:26. Pushed by cullmann into branch 'master'. [kshortcuteditor] Undo pending changes on destruction Currently one has to manually call undo() to discard pending changes when being done with the widget. This is error-prone because it's easy to forget or cause use-after-free issues when calling undo() on an already deleted editor. Instead automatically undo() on destruction Related: bug 475095, bug 475083 M +5 -1 src/kshortcutseditor.cpp https://invent.kde.org/frameworks/kxmlgui/-/commit/b7365dfc6e7418b4214d671b27c0f8a67bc07021