Bug 464049

Summary: [Wayland] Keyboard layout switch becomes a pain when using three or more layouts
Product: [Plasma] kwin Reporter: zvova7890
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version: 5.26.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description zvova7890 2023-01-09 13:16:07 UTC
Currently layout switching going through circle, like a 1 - 2 - 3 - 1 - 2 - 3. Most of time I need only 2 layouts. On x11 we have option to restrict switching circle to some number of layouts(Input Devices -> Keyboard -> Layouts -> Spare layouts). In simple way it is working fine: when you need to switch to 3rd layout you just take the mouse and choice 3rd layout. Anyway, on wayland this option is doesn't work.
I have suggestion about how it also can be done on wayland(and maybe x11) session. It is just like MacOS behavior. If you are press Meta+Space(assuming this is us shortcut for layout switch), you switch 1st -> 2nd layout. Then if in second switch you release Meta key and build combination again by pressing Meta+Space - you switch back 2nd -> 1st. If you are don't release Meta key and continue pressing Space you going by simple circle switch as usually. It is looks more elegant decision
Comment 1 Nate Graham 2023-01-09 22:57:32 UTC

*** This bug has been marked as a duplicate of bug 455431 ***