SUMMARY *** When setting only the meta key as a shortcut for anything, any key combination involving the meta key will also trigger the modifier-only shortcut in addition to the actual key combination. *** STEPS TO REPRODUCE 1. Assign just the meta key to any action (call it A) 2. Assign meta + some other key to any action (call it B) 3. Trigger the key combination for B OBSERVED RESULT A and B happen EXPECTED RESULT Only B happens Operating System: Arch Linux KDE Plasma Version: 5.27.0 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.1.12-arch1-1 (64-bit) Graphics Platform: X11
I guess then it's a matter for these shortcuts to be triggered on release. At the moment we do it on press and we do not yet know whether there will be other keys pressed afterwards.
It's the other side of the coin of https://bugs.kde.org/show_bug.cgi?id=465867
I think it's time to remove the modifier only shortcut concept from KWin, now that it's redundant because we can trigger modifier-only shortcuts using KGlobalAccel.