SUMMARY When I change 1st level of layouts, the second level of layouts are also being changing. For instance, if English and Russian were the 1st level and Norwegian is the 2nd level, Norwegian is also seems when I press 'Main shortcuts' shortcut. STEPS TO REPRODUCE 1. Install latest version of KDE Plasma 2. Add layouts to keyboard at settings and add the third language as space layout 3. See the third level layout on main layouts list when you press 'Main shortcuts' shortcut OBSERVED RESULT The third level layout shows in the list of the main layout when I switch to another. EXPECTED RESULT Third level layout won't be seen in the main layout switch. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: OpenSUSE Tumbleweed v20220613 (available in About System) KDE Plasma Version: 5.25.0 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
Please note spare layouts feature is not implemented for Wayland (yet). As it becomes recurring, we should probably add the platform to SOFTWARE/OS VERSIONS generation. Any ideas what's the best way to achieve that? (file an issue to some component etc.)
(In reply to Andrey from comment #1) > Please note spare layouts feature is not implemented for Wayland (yet). > > As it becomes recurring, we should probably add the platform to SOFTWARE/OS > VERSIONS generation. > Any ideas what's the best way to achieve that? (file an issue to some > component etc.) Yep, I've used on Wayland and I think as I migrated to it lately I got this issue. I'll wait then when it will be fixed on wayland
Note it's not even planned though. Hope I'll have time some day to put my hands on it. Probably was reported already but couldn't find it.
(In reply to Andrey from comment #3) > Note it's not even planned though. Hope I'll have time some day to put my > hands on it. > > Probably was reported already but couldn't find it. No problem, there's no need to rush on it
*** Bug 460788 has been marked as a duplicate of this bug. ***
*** Bug 464049 has been marked as a duplicate of this bug. ***
Guys, how about this: >> 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. I have take a look into shortcut code processor in kwin, found src/keyboard_layout.cpp source, but this shortcut is rely to "Alternative shortcut". Advanced tab is in another place and works way difference. Mentioned source has dbus interface KeyboardLayoutDBusInterface, I think advanced tab shortcut must use this interface to centralize switch logic. keyboard_layout.cpp has switchToNextLayout and switchToPreviousLayout switching methods, how about to add some "switchToPreferLayout" and add KeyboardLayout::keyEvent(KeyEvent *event) override to track "Meta" key or any key that represents in shortcut as first key in sequence? But if sequence include just one key(caps for example) this won't work, and we are going to the simple circle switch.
It's all possible, but first we should replicate X11 behavior I think. For that we need to create the structures in KWin required. Then we could imitate the MacOS behaviour or whatever. I'm sorry but I still not on it yet.
*** Bug 446898 has been marked as a duplicate of this bug. ***
*** Bug 475470 has been marked as a duplicate of this bug. ***
In progress with https://invent.kde.org/plasma/kwin/-/merge_requests/4708!
*** Bug 483607 has been marked as a duplicate of this bug. ***
"Spare Layouts" not working on Wayland (Plasma 6)
The Spare Layouts functionality is not working for me either on Wayland Plasma 6.04. Is this still in progress? I am a linguist and it is fairly important to my work. Thank you!
The MR seems stuck on some phase of ideology :( I do patch my kwin every release with proposed MR, because I can't live without it either.
Let me see if I can get it going again.
Also experiencing this issue. It's quite useful to have a group of main layouts to switch through, and other layouts on demand with specific shortcuts. e.g. native layout with and without dead keys as primary group (toggle shortcut for frequent switching), and a cyrillic layout with separate shortcut as it is needed only occasionally.
(In reply to Nate Graham from comment #16) > Let me see if I can get it going again. That would be wonderful, thank you! It's much appreciated!
Feature "Spare Layouts" also not working on Plasma 6.1 Beta (6.0.90) in the Wayland session. Plasma 6.1 has a new user interface for keyboard input settings, but the unique function "Spare Layouts" stay is not working... it is very sad 🙄. Please 🙏 , fix this.
Hi, I'm also desperately waiting for this functionality on my Manjaro system. Please, schedule some time to get into this issue, it is really really useful and desired, so much people would be thankful for implementing this feature 🙏
*** Bug 493704 has been marked as a duplicate of this bug. ***
As small as it seems but "Spare Layouts" is a killer feature!!! ..unfortunately not yet working under Wayland :/
really hoping this gets fixed. I don't want to go back to x11 just because of this
*** Bug 498057 has been marked as a duplicate of this bug. ***