Keyboard -> Layouts [x] Spare layouts, Main layout count [2] STEPS TO REPRODUCE 1. Install 3 or more kbd layouts 2. Use spare layouts checkbox, and main layout count with 2 3. Switch layouts by shortcut OBSERVED RESULT All installed kdb layouts are in loop EXPECTED RESULT Only two last layouts in switch loop SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.14.5 KDE Plasma Version: 5.14.5 KDE Frameworks Version: 5.54.0 Qt Version: 5.12.0 ADDITIONAL INFORMATION Under X all is ok
What is a spare layout?
Created attachment 117507 [details] What is spare layouts
Please answer the question and don't attach a useless screenshot.
This is "Restrict layout counts inside switch ring" in origin text named as "spare layouts". Or what do you want know?
>Or what do you want know? It's a bit unclear from the name/UI, and KDE is a bit too big for every dev to know every bit of code. Docs are surprisingly good: Spare layouts allow to toggle between small number of layouts easily while keeping more layouts handy close by. For example you might use 3 languages: English, Ukrainian and German but first two are used often and third one just occasionally. In this case you can configure first two as main layouts (setting Main layout count: 2) and German one as spare one - when you toggle with keyboard and left mouse button the switch will happen between main layouts only but you can always choose 3rd layout with context menu. When spare layout is chosen it replaces the last main layout (this is done for technical reasons, usually global shortcuts work based on the 1st active layout so it's more reliable to preserve the 1st layout when allowing to activate spare layouts). As X.org only allows to have 4 layouts to switch “spare layouts” feature also allows to overcome this limitation: user can have up to 4 main layouts (managed by X.org) but 4 more spare layouts allowed (managed by layout switcher). Thus user can conveniently work with up to total of 8 layouts (although the 4 spare layouts limit can be raised in the future). --- Sounds like a clunky UI, and the last part clearly isn't relevant here, but if we're going to have an option it does make sense that we follow it.
I would prefer to just remove this option on Wayland. It doesn't sound like a useful feature and the UI is certainly not helpful.
No! Don't remove! If people like removed functional they just using gnome as well. That is very important feature for people who have more than 2 layout in use. Is this difficult to implement on wayland? Who manage languages at wayland session?
>> It doesn't sound like a useful feature and the UI is certainly not helpful. in defense I can say that the translation into Russian is more understandable
this was implemented a while ago