Bug 415061 - Default keyboard layout which includes level3(ralt_switch) combined with "Swap Left Alt with Left Ctrl" breaks Meta key in global shortcuts
Summary: Default keyboard layout which includes level3(ralt_switch) combined with "Swa...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Keyboard Layout widget (show other bugs)
Version: 5.21.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
: 398201 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-12-11 17:01 UTC by dragunoff
Modified: 2023-05-28 03:45 UTC (History)
5 users (show)

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


Attachments
Keyboard layout settings (87.07 KB, image/png)
2019-12-11 17:01 UTC, dragunoff
Details
Keyboard advanced settings (88.22 KB, image/png)
2019-12-11 17:02 UTC, dragunoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dragunoff 2019-12-11 17:01:38 UTC
Created attachment 124434 [details]
Keyboard layout settings

SUMMARY

If a keyboard layout that includes level3(ralt_switch) is set as the default one (top of the list) and "Ctrl position > Swap Left Alt with Left Ctrl" is checked then the left Meta key seizes to function and the Left Alt key instead is recognized as the Meta key in global shortcuts. 

STEPS TO REPRODUCE
1. Add a layout that includes `level3(ralt_switch)` - for example: English (Workman)
2. Put the new layout at the top
3. Try using a shortcut that includes the Meta(Windows) key - for example `Meta + L` to lock the session
4. Try again using `LCtrl + L` (I mean the physical `LCtrl` key)

OBSERVED RESULT
The global shortcut does not work when using the `Meta` key. The global shortcut instead is triggered with the `LCtrl` key.

EXPECTED RESULT
The global shortcut should work with the `Meta` key as that's what it's mapped to and that's how it works with other layouts.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4

ADDITIONAL INFORMATION
I think this started happening with Ubuntu 19.04.
Comment 1 dragunoff 2019-12-11 17:02:35 UTC
Created attachment 124435 [details]
Keyboard advanced settings
Comment 2 Krasi Georgiev 2020-11-15 14:33:18 UTC
I am hitting the same issue except for me it happens on every keyboard layout - I have GB and BG

Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-37-generic
OS Type: 64-bit

Lenovo P50
Comment 3 Krasi Georgiev 2020-11-15 14:40:09 UTC
Here are the full settings

[Layout]
DisplayNames=,
LayoutList=gb,bg(phonetic)
LayoutLoopCount=-1
Model=pc101
Options=ctrl:swap_lalt_lctl
ResetOldOptions=true
ShowFlag=true
ShowLabel=false
ShowLayoutIndicator=true
ShowSingle=false
SwitchMode=Global
Use=true
Comment 4 Nate Graham 2021-03-20 04:11:29 UTC
*** Bug 398201 has been marked as a duplicate of this bug. ***
Comment 5 Andrey 2023-04-28 06:28:38 UTC
Please check both X11 and Wayland.

Also, what behavior do you see in other DEs e.g. Gnome?
Comment 6 Bug Janitor Service 2023-05-13 03:45:58 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2023-05-28 03:45:24 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!