SUMMARY Some Arch users were talking about (and confirming) this phenomenon on Reddit: https://www.reddit.com/r/kde/comments/1g13943/a_keyboard_shortcut_i_cant_find_listed_in_the/ After updating my Fedora 40 system to Plasma 6.2.0, the same issue is present for me, if I have the "Meta" modifier-only shortcut enabled. If that shortcut is enabled, pressing Shift+Alt (but not Alt+Shift) will also trigger the same shortcut action. Moving the Meta-only shortcut to something other than the app launcher, like krunner, shows that Shift+Alt (but not Alt+Shift) will always trigger the Meta-only shortcut action, regardless of what it is set to. So it's not connected to the app launcher, the Shift+Alt modifier sequence just somehow triggers the Meta-only shortcut action. Disabling the Meta-only shortcut will stop the Shift+Alt sequence from doing anything. For the action to happen you have to press Shift+Alt and then release with no further keys. Other shortcuts involving Shift+Alt+key seem to work correctly. Trying to set "Shift+Alt" as a modifier-only shortcut results in the Input box showing that you pressed "Meta+Shift", and on occasion I would get the dialog saying "Meta+Shift" is assigned to the action I was trying to assign "Shift+Alt" to. If I press "Alt+Shift" instead, the Input box would just show that I pressed "Alt+Shift". If you actually try to use the resulting "Meta+Shift" shortcut, you of course need to actually press Meta and Shift. It doesn't work with "Shift+Alt". STEPS TO REPRODUCE 1. Update an Arch or Fedora (or any?) distro to Plasma 6.2.0 2. Make sure the Meta-only shortcut is enabled with some action. 3. Press "Shift+Alt" and release. The Meta-only action should be triggered. EXPECTED RESULT The Shift+Alt sequence should not perform any action unless it was assigned to some action as a modifier-only key sequence shortcut. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 40 Workstation with KDE Plasma 6.2.0 KDE Plasma Version: 6.2.0 KDE Frameworks Version: 6.7.0 Qt Version: 6.7.2
Can confirm. And it only affects the modifier only shortcut. Shift+Alt+D doesn't trigger Meta+D. Shift+Alt+Click doesn't trigger Meta+Click.
I have this on EndeavourOS, KDE 6.2.0. It was especially annoying in games where shift is sprint and alt is freelook, like DayZ and ArmA 3.
Yup, annoying in games, drops you right into desktop.
Can also confirm. Was just about to file this bug, I recently updated Fedora 40 with plasma 6.2 and this happens every time. Thanks to RedBearAK I now know that I can disable the Meta shortcut while waiting for a fix. DayZ is unplayable with this weird shortcut.
Git commit da6caa1c661af54b22971f6d5d0a9c6405451e4e by Yifan Zhu. Committed on 14/10/2024 at 17:23. Pushed by fanzhuyifan into branch 'Plasma/6.2'. Revert "trigger modifier-only shortcuts when any modifier is released" By default, xkeyboard-config maps shifted alt to meta, so kglobalacceld gets meta events instead of alt events: - press Alt: Alt - press Shift: Shift - release Alt: Meta - release Shift: Shift The commit changed from tracking key presses to only using key releases, causing Meta to trigger when alt is released when shift is pressed. Revert this change until we have a fix for https://invent.kde.org/plasma/kglobalacceld/-/issues/1. This reverts commit 7a6840180e5b710afa59fc297aabddf727173627. M +8 -2 src/globalshortcutsregistry.cpp M +9 -3 src/globalshortcutsregistry.h https://invent.kde.org/plasma/kglobalacceld/-/commit/da6caa1c661af54b22971f6d5d0a9c6405451e4e
*** Bug 493787 has been marked as a duplicate of this bug. ***
*** Bug 494543 has been marked as a duplicate of this bug. ***
*** Bug 491644 has been marked as a duplicate of this bug. ***
*** Bug 493890 has been marked as a duplicate of this bug. ***
Worked around in 6.2.1 by reverting the commit that caused it. Still needs a final fix in master so it doesn't affect 6.3.
Git commit 73c5fd52a10805335316373e7bdf44565aecfbd8 by Vlad Zahorodnii, on behalf of Yifan Zhu. Committed on 14/10/2024 at 19:48. Pushed by vladz into branch 'master'. Revert "trigger modifier-only shortcuts when any modifier is released" By default, xkeyboard-config maps shifted alt to meta, so kglobalacceld gets meta events instead of alt events: - press Alt: Alt - press Shift: Shift - release Alt: Meta - release Shift: Shift The commit changed from tracking key presses to only using key releases, causing Meta to trigger when alt is released when shift is pressed. Revert this change until we have a fix for https://invent.kde.org/plasma/kglobalacceld/-/issues/1. This reverts commit 7a6840180e5b710afa59fc297aabddf727173627. M +8 -2 src/globalshortcutsregistry.cpp M +9 -3 src/globalshortcutsregistry.h https://invent.kde.org/plasma/kglobalacceld/-/commit/73c5fd52a10805335316373e7bdf44565aecfbd8
Marking as resolved since this is now fixed in both 6.2.1 and git master. A better future solution will be tracked by https://invent.kde.org/plasma/kglobalacceld/-/issues/1.