Bug 453461

Summary: X11: Changing keyboard layout order stops most shortcuts from working
Product: [Applications] systemsettings Reporter: medin <med.medin.2014>
Component: kcm_keyboardAssignee: Plasma Bugs List <plasma-bugs>
Status: REOPENED ---    
Severity: normal CC: butirsky, nate, plasma-bugs
Priority: NOR    
Version: 5.24.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=309193
https://bugs.kde.org/show_bug.cgi?id=375518
https://bugs.kde.org/show_bug.cgi?id=454511
Latest Commit: Version Fixed In:

Description medin 2022-05-06 10:05:34 UTC
If I change the order of keyboard layouts in Plasma settings then almost all desktop shortcuts like : Meta+L, Meta+V, Meta+Alt+T.... stop working, only after reverting the order of keyboard layouts they start working again.
Comment 1 Andrey 2022-05-06 21:45:25 UTC
Does it persist after reboot?
Comment 2 medin 2022-05-06 22:49:33 UTC
(In reply to Andrey from comment #1)
> Does it persist after reboot?

Even after rebooting the problem persists, what I have is French and Arabic keyboard layouts, if I let French in the first row then shortcuts work fine, but if I move Arabic to first row then almost all Plasma shortcuts stop working.
Comment 3 Andrey 2022-05-06 22:52:30 UTC
On X11, layout containing latin symbols should go fist due X11 implementation.
We can nothing to do with it.
Is it your problem?
Comment 4 medin 2022-05-06 23:01:32 UTC
(In reply to Andrey from comment #3)
> On X11, layout containing latin symbols should go fist due X11
> implementation.
> We can nothing to do with it.
> Is it your problem?

I don't think so, because for me after each reboot It always resets to Arabic Morocco (ma) as default keyboard layout in keyboard widget, even if the last used keyboard layout was French in previous boot.

But that is not my current problem, because while French layout is selected in keyboard widget many shortcuts do not work and the cause is only that French was moved in Plasma settings to second row.
Comment 5 Andrey 2022-05-06 23:04:40 UTC
That is the problem I referred to.
Please try Wayland.
Comment 6 medin 2022-05-06 23:20:10 UTC
(In reply to Andrey from comment #5)
> That is the problem I referred to.
> Please try Wayland.

On Wayland the problem doesn't exist, it's regretful that Wayland is still full of many serious/obvious bugs that remained for long time and for now cannot really be used as robust alternative to X11. I tried many times to love it and adopt it for daily usage but always return to X11.
Comment 7 Andrey 2022-05-06 23:29:57 UTC
If you place redundant US layout on the first place, the order of others shouldn't matter on X11.
Sorry but I don't think this bug will ever be fixed in X11.
Closing as upstream.
Comment 8 Andrey 2022-05-11 12:09:23 UTC
Potentially still can be fixed on Plasma side, see comment:
https://bugs.kde.org/show_bug.cgi?id=309193#c74