Summary: | 6.2.0 causes Shift+Alt (but not Alt+Shift) to trigger Meta modifier-only shortcut | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | RedBearAK <redbear> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ad.liu.jin, agurenko, arttuc, bugseforuns, collsen.a, dev, fanzhuyifan, jlp, Jmvars94, kacperzkap, kde, nate, oded, pallaswept, pavel23dob, pepko94, piotr.juzwiak, zawertun |
Priority: | HI | Keywords: | regression |
Version: | 6.2.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: |
https://invent.kde.org/plasma/kglobalacceld/-/issues/1 https://bugs.kde.org/show_bug.cgi?id=434988 https://bugs.kde.org/show_bug.cgi?id=494848 |
||
Latest Commit: | Version Fixed In: | 6.2.1 | |
Sentry Crash Report: |
Description
RedBearAK
2024-10-12 02:40:07 UTC
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. |