Bug 493704

Summary: Keyboard layout switching ignores the "Main layout count" parameter
Product: [Applications] systemsettings Reporter: Kilkenni <gbssesame>
Component: kcm_keyboardAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: butirsky, natalie_clarius, nate
Priority: NOR    
Version First Reported In: 6.1.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kilkenni 2024-09-26 18:29:36 UTC
SUMMARY
System Settings -> Keyboard -> Layouts

There is a checkbox at the bottom: Spare layouts, and a counter accompanying it. It is used if 3 or more layouts are enabled and a user needs to "skip" certain layouts via the usual hotkey rotation but still be able to switch to them manually. For example, if 3 layouts are present but the counter equals 2, normal hotkey rotation will switch only between the first 2 "primary" ones in the list.

The latest update seems to have broken this option. The flag and the counter are still set but the system ignores them and rotates the whole list when switching.

STEPS TO REPRODUCE
1. Enable 3 or more layouts (for example, English, Spanish and French)
2. Enable the "Spare layouts" option in System Settings and set the Main layout count to 2.
3. Try repeatedly switching layout via your usual key combination (mine is Ctrl+Shift).

OBSERVED RESULT
Keyboard layout cycles between all the enabled layouts.

EXPECTED RESULT
Keyboard layout should cycle only between the "main layouts" and skip the rest.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-09-30 16:24:49 UTC

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