Inconsistencies in key events sent to kglobalacceld on X11 vs Wayland
There seems to be significant inconsistencies in the key events sent to kglobalacceld on x11 and on wayland:
Key Sequence | Events on X11 | Events on Wayland |
---|---|---|
Press Shift, Press Alt, Release Alt, Release Shift | Shift Press, Shift+Alt Press, Alt+Shift+Alt Release, Shift+Shift Release | Shift+Shift Press, Alt+Meta Press, Meta Release, Shift Release |
Press Shift, Press Alt, Release Shift, Release Alt | Shift Press, Shift+Alt Press, Alt+Shift+Shift Release, Alt+Alt Release | Shift+Shift Press, Alt+Meta Press, Alt+Shift Release, Alt Release |
Press Shift, Press 1, Release 1, Release Shift | Shift press, ! Press, ! Release, Shift+Shift Release | Shift+Shift press, ! Press, ! Release, Shift Release |
Press Shift, Press 1, Release Shift, Release 1 | Shift press, ! Press, Shift+Shift Release, 1 Release | Shift+Shift press, ! Press, Shift Release, 1 Pressed, 1 Release |
It would be nice if the events are consistent on both platforms. In particular, the weird events on wayland is preventing using Alt+Shift as a shortcut, which is important for people who want to use that for layout switching.
I plan to look into this issue, and try to make the events on wayland (for shortcut purposes) consistent with those on X11. Opening this issue for feedback and discussion.