Bug 493704 - Keyboard layout switching ignores the "Main layout count" parameter
Summary: Keyboard layout switching ignores the "Main layout count" parameter
Status: RESOLVED DUPLICATE of bug 455431
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (other bugs)
Version First Reported In: 6.1.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-26 18:29 UTC by Kilkenni
Modified: 2024-09-30 16:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***