Created attachment 168602 [details] screenshot of nuisance shortcuts SUMMARY After a recent upgrade to Plasma 6, a number of Shortcuts in the Keyboard->Shortcuts menu from old WINE applications appear, and my user-configured shortcuts no longer persist after reboots. I cannot remove the unwanted WINE shortcuts, even after aggressive scrubbing of various leftover WINE files. Pressing the "remove"/trash button within the UI itself appears to precipitate the removal of user-configured shortcuts. I believe https://bugs.kde.org/show_bug.cgi?id=477188 may be related, although it should long have been fixed in this version (and still doesn't mention the issue of disappearing user shortcuts.) I also posted on the KDE Discuss forums with no replies: https://discuss.kde.org/t/keyboard-shortcuts-not-persistent-over-reboots-polluted-with-old-applications/13139 STEPS TO REPRODUCE I was unable to reproduce the issue on my laptop, which has a nearly identical configuration of software, but a far shorter heritage of collected ~/.config and ~/.local cruft. Rebooting and/or logging out, especially after attempting to remove shortcuts with the "X" button, appears to cause some or all of my user-configured shortcuts to be removed and reset (for example, Ctrl+Alt+T to open Konsole). The shortcuts persist just fine during a session. I believe the issue is related to a corrupt, incorrect, or invalid configuration file, likely due to a botched migration from Plasma 5 to Plasma 6 due to the shortcuts overhaul. I attempted to dig through the source and identify any relevant configuration files, but (after deleting a few and digging through others) can't find where these shortcuts are coming from. OBSERVED RESULT A number of nuisance WINE shortcuts appear, and while they can be removed with the "Trash" button, they re-appear with every new session. User-created global shortcuts occasionally disappear across reboots/sessions. Not all of them disappear at once; for example, my Konsole config was wiped, but my Spectacle configuration was retained. This may be related to attempts to trash the shortcuts themselves. EXPECTED RESULT Ideally, the nuisance links to nonexistence WINE shortcuts should be cleaned up /not displayed, or at least the delete button should work. User configured global shortcuts should persist after a reboot. SOFTWARE/OS VERSIONS Arch Linux, kernel 6.8.5-zen on Wayland KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 ADDITIONAL INFORMATION My ~/.config/kglobalshortcutsrc is here: https://pastebin.com/G9y6D0mE
May be related to: https://bugs.kde.org/show_bug.cgi?id=484597
Workaround: I searched my home directory for all files containing some of the "dead" shortcut name text to try and find residual config files; removing ~/.local/share/kglobalaccel *appears* to have fixed the issue on my machine. I will update this if this is not the case; I still have a copy of the old directory if useful for bughunting. I've attached this to the bug ticket.
Created attachment 178096 [details] kglobalaccel file - removing this seems to have fixed the bug on my machine?