SUMMARY It is impossible to normally use `Alt+Shift`. STEPS TO REPRODUCE 1. Add 2+ input layouts. 2. Enable `Input devices` -\> `Keyboard` -\> `Advanced` -\> `Switching to another layout` -\> `[x] Alt+Shift` OBSERVED RESULT 1. Press `Alt` 2. Press `Shift` 3. Release ONLY `Alt` 4. Try to type text. Typed text is lowercase, `Shift` is ignored. EXPECTED RESULT 1. Press `Alt` 2. Press `Shift` 3. Release ONLY `Alt` 4. Try to type text. Typed text is uppercase. SOFTWARE/OS VERSIONS Bug is present in both Plasma 5 and Plasma 6. ADDITIONAL INFORMATION
Workaround: https://github.com/Azq2/alt-shift-kbd-layout-switcher
P.S. In Unity, GNOME, Windows works fine.
Can reproduce on wayland, git build. This only happens when Alt is pressed before Shift.
I can also reproduce this on x11. So I think this is an upstream xkb issue.
(In reply to fanzhuyifan from comment #4) > I can also reproduce this on x11. So I think this is an upstream xkb issue. I confirmed that I can also reproduce this on XFCE, with a command like `setxkbmap -layout rs,rs,us,de -variant latin,,dvp, -option 'grp:alt_shift_toggle'` So please report this issue to xkb.
This is another occurrence of the infamous “need to kick hotkeys on release, not press” (see: https://gitlab.freedesktop.org/xorg/xserver/-/issues/258). This is not a bug per se, but a known limitation of the XKB protocol.