Bug 460788 - The restriction of frequently used layouts does not work
Summary: The restriction of frequently used layouts does not work
Status: RESOLVED DUPLICATE of bug 455431
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.26.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-21 00:18 UTC by Dmitry
Modified: 2022-10-21 22:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
My current layout suttings (30.62 KB, image/png)
2022-10-21 17:25 UTC, Dmitry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2022-10-21 00:18:52 UTC
SUMMARY
I had 2 layouts: English and Russian. Now I have added my custom ones for my Ergodox, now I have 4 layouts. I want the new switch to work by keyboard shortcut and it works. But on a regular keyboard, only 2 main ones are needed. Setting the limit to 2 or 3 has no effect.


STEPS TO REPRODUCE
1. Add more than 2 layouts to the desktop environment
2. Set a limit for the number of main layouts

OBSERVED RESULT
Nothing

EXPECTED RESULT
The restriction was set

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.2-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-10-21 16:53:15 UTC
What are you expecting to happen when you set "Main layout count" to 2 that doesn't happen?
Comment 2 Dmitry 2022-10-21 17:22:01 UTC
When I press Alt+Shift, the layouts change in this order:
us -> ru -> custom us -> custom ru -> us -> ru -> ...

It seems to me that limiting the main layouts to 2 means the following switching ring:
us -> ru -> us -> ru -> us -> ru -> ...
custom layouts should not be affected, because they have numbers 3 and 4.

But this does not happen, the layouts are switched as in the first example.
Comment 3 Dmitry 2022-10-21 17:25:11 UTC
Created attachment 153092 [details]
My current layout suttings

I think that graying additionally means that these layouts should not be available by Alt+Shift. But they are in the switching ring
Comment 4 Andrey 2022-10-21 22:29:01 UTC
It's a duplicate (need to find the original).
Spare layouts are not implemented for Wayland session yet.
Comment 5 Nate Graham 2022-10-21 22:31:11 UTC
Got it.

For now we should maybe hide the UI so we don't confuse people.

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