SUMMARY Changing keyboard layout with SHIFT+ALT while using xwayland-operated app (Minecraft game client in my case) makes SHIFT become sticky until next time SHIFT is pressed. This does not happen when i use ALT+SHIFT (press buttons in different order then SHIFT+ALT). I have sticky keys disabled and the bug has appeared after an update to the latest version available in the Arch linux repo at the moment. STEPS TO REPRODUCE 1. Open xwayland-operated app (Minecraft game in my case) 2. Press SHIFT+ALT 3. Look as the SHIFT becomes permanently activated till the next time you press the SHIFT button. OBSERVED RESULT SHIFT becomes sticky EXPECTED RESULT It should not become sticky))) SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux 6.17.4 zen kernel ver. KDE Plasma Version: latest KDE Frameworks Version: latest Qt Version: latest
UPD: this does not happen in normal apps like browsers or discord client for some reason.
UPD: that shit stops to happen if I change the shortcut for layout change which is kind of strange. I've just changed it to META+SPACE and pressing SHIFT+ALT stopped to cause that bug, but when i've changed the shortcut to SHIFT+ALT, it started to happen again. I do not want to use any shortcut then SHIFT+ALT so I'll patiently wait for an answer.
The same happens for games launched via proton; 've been playing HOI4, shift became permanently locked after switching the layout, had to press it again.
can you share your .config/kwinrc please and ideally find some X11 application that's broken I can test that's freely available.
(In reply to David Edmundson from comment #4) > can you share your .config/kwinrc please and ideally find some X11 > application that's broken I can test that's freely available. config: [Desktops] Id_1=5f8c9806-1eb8-4471-b2db-41444e83f523 Number=1 Rows=1 [NightColor] Mode=Times NightTemperature=1000 [Plugins] shakecursorEnabled=false [Tiling] padding=4 [Tiling][5f8c9806-1eb8-4471-b2db-41444e83f523][ee618674-678d-4e82-8b78-2f287843310c] tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} [Tiling][b29fca83-fa28-5c36-a895-ec94d1d952c7] tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} [Xwayland] Scale=1 Not sure I know what you're reffering to as X11 app. As i've said earlier, it happens with at least 2 games that are, probably, made to work with x11 by default and thus launched via Xwayland as I have plasma wayland session active, which are in my case - Minecraft Java Edition and Hearts of Iron IV
Oh, sorry for my stupidity. I don't think, that i can name any free x11 app that'll be a good example to look into the bug.
I have the same problem when updating KDE to 6.5.0 and then to 6.5.1 in Arch. - If I set shift+alt in the first keyboard settings window, it only works correctly in the system itself, but not in Wine\Proton applications. - However, if I remove the language switching setting (without assigning keys), go to the advanced settings, and select shift+alt as the language switcher, everything works in both the system itself and Wine applications.
Having the same issue while using blender on latest arch with plasma 6.5.2 The key that is being stuck is the first one in a keystroke. For example, if you're pressing shift then alt -- shift gets stuck and vise versa.
Can confirm Skif's workaround: removing the "Change layout shortcut" in keyboard settings, then in "Key bindings" on top checking "Alt+Shift" in "Switching to another layout" completely fixes the issue.
even though there are some workarounds, existence of such an issue annoys me
The fix for Bug 510404 might have fixed this in Plasma 6.5.5. Please test again in Plasma 6.5.5, or with KWin from git master, or with KWin from the stable branch with https://invent.kde.org/plasma/kwin/-/commit/51ccff2d00ff94d9c2bbe1614131373f8dc4d7a9 backported to it. Thanks!
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
The system was completely reinstalled. All the latest updates were installed. OS: Arch Linux x86_64 Kernel: Linux 6.18.2-arch2-1 DE: KDE Plasma 6.5.4 WM: KWin (Wayland) Problem still exist. The behavior of all pressed keys after using Alt+Shift is unclear and difficult to explain. However, when typing, say, in the game chat, everything works as long as I'm typing in English letters. Then I change the language, and pressing the keys (letters) doesn't result in the letter appearing in the line. Even if I change the language again, nothing happens—the text doesn't appear, even in English. If I minimize the window, return to English, and then restore the game window, sometimes the ability to type in English is restored, sometimes not.
I tried different keyboards (2 USB and 1 PS/2) - nothing changed. Switching the language from the list in the advanced settings continues to help.