Bug 480205 - When switching between multiple keyboard layouts, combinations with modifiers stay on the first declared layout.
Summary: When switching between multiple keyboard layouts, combinations with modifiers...
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: plasmashell
Classification: Plasma
Component: Keyboard Layout widget (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-23 07:11 UTC by David Larochette
Modified: 2024-02-23 17:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
david: Wayland+
david: X11+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Larochette 2024-01-23 07:11:45 UTC
SUMMARY

When switching between multiple keyboard layouts, combinations with modifiers stay on the first declared layout.

Occurs either with Xorg or Wayland, any Linux distribution (tested on Fedora 38, CentOS 9 Stream, Debian testing, Arch).

STEPS TO REPRODUCE
1. Add additional keyboard layouts
2. Switch to non-main layout
3. Use a key-combination with a modifier key

OBSERVED RESULT
Registered key is the one from the main keyboard layout

EXPECTED RESULT
Registered key is the one from the current keyboard layout

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
This is a long standing (possibly Qt) bug that has never been corrected (can't find previous occurrences)
Comment 1 Andrey 2024-01-24 16:40:25 UTC
What the layouts are and what are the shortcuts you consider broken there?
Comment 2 Bug Janitor Service 2024-02-08 03:45:43 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 3 Bug Janitor Service 2024-02-23 03:46:19 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!
Comment 4 David Larochette 2024-02-23 08:09:32 UTC
Layouts used here are :
- French (bépo)
- French (azerty)
- English/US

Non working comps are :
any Ctrl+key, Alt+key, Ctrl-Shift+key, Shift-Alt+key or Ctrl-Alt-Shift+key, whether they are system-wide like ctrl-l or application like ctrl-s. In that case, key retained will be that of the first layout, not the current one.

Shift+key (uppercase) still works correctly
Comment 5 Andrey 2024-02-23 17:10:12 UTC
(In reply to David Larochette from comment #4)
> Layouts used here are :
> - French (bépo)
> - French (azerty)
> - English/US

If you want English/US shortcuts, please try to put it in the first position in the configuration.
It might be how Qt works and nothing to do with the Plasma.
Reopen if something is not clear.
Comment 6 Andrey 2024-02-23 17:13:43 UTC
Also, you didn't fill SOFTWARE/OS VERSIONS.