Bug 475470 - LayoutLoopCount/spare layout does not work
Summary: LayoutLoopCount/spare layout does not work
Status: RESOLVED DUPLICATE of bug 455431
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (show other bugs)
Version: 5.27.8
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-11 14:47 UTC by Yaroslav
Modified: 2023-10-11 18:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav 2023-10-11 14:47:21 UTC
SUMMARY
"Spare layouts" setting does not work. 
I do see that `systemsettings5` updates `~/.config/kxkbrc` file:

[$Version]
update_info=kxkb_variants.upd:split-variants,kxkb.upd:remove-empty-lists,kxkb.upd:add-back-resetoptions

[Layout]
DisplayNames=,,
LayoutList=us,ru,ua
LayoutLoopCount=2
Options=grp:lalt_lshift_toggle
ResetOldOptions=true
ShowFlag=false
ShowLabel=true
ShowLayoutIndicator=true
ShowSingle=false
SwitchMode=Window
Use=true
VariantList=,,

But nothing happens after, I still see all three languages in my loop.

STEPS TO REPRODUCE
1. Open system settings
2. Add 3+ (us,ru,ua) layouts to your keyboard settings
3. Select "Spare layouts", and ensure that your "main layout count" set to 2.
4. At this step you should have two (us,ru) main layouts, and one (ua) additional.

OBSERVED RESULT
All three languages could be switched using the main shortcut.


EXPECTED RESULT
Only the first two (us,ru) must be available through the main shortcut.


SOFTWARE/OS VERSIONS
Fedora 39, KDE/Wayland
KDE 5.27.8
KDE frameworks 5.110.0
Qt 5.15.10
Linux 6.5.6
AMD Ryzen 5 PRO 5650U with Radeon Graphics

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-10-11 18:50:04 UTC

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