Unable to use alt+shift+<key> combinations on wayland

Hi, I use endeavourOS with kde plasma wayland and after I set second keyboard layout, all combinations starting with alt+shift stopped work, because alt+shift (set to switch layout) is registered immediately even before they are released. Initially on wayland I set this bind through
keyboard->shortcuts->keyboard_layout_switcher
and it worked as supposed after release, but there’s another bug then - it works only if alt is pressed before shift, what is also inconvenient, so I set it in
keyboard->keyboard->Key_Bindings.
This way it works regardless the order, but blocks all further combinations (on both X11 and wayland).

So the only way to make it work correctly is to use X11 and set this bind only in keyboard->shortcuts->keyboard_layout_switcher, but I don’t want to use X11. I found a lot of people with the same bug, but not a single solution. Could you help me with it?

P.S. I have a ThinkPad P14s gen5 and also tried an external keyboard (B820R)

See [XKB] need to kick hotkeys on release, not press (#258) · Issues · xorg / xserver · GitLab

And 434988 – keyboard shortcuts use shifted symbols (e.g., Meta+!) instead of the unshifted ones (e.g., Meta+Shift+1)

What worked for me is to set Alt+Shift as “Alternative shortcut”

2 Likes

It realy helped though I’ve already set it as alternative but in shortcuts instead of layouts. I think it’s a bug and need to be fixed. BTW thank you!