Bug 499542 - Disrespect keyboard shortcuts modifiers keys (Ctrl/Alt/Shift)
Summary: Disrespect keyboard shortcuts modifiers keys (Ctrl/Alt/Shift)
Status: RESOLVED DUPLICATE of bug 494848
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.10.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-05 11:26 UTC by Yanis Mukhametshin
Modified: 2025-02-05 15:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yanis Mukhametshin 2025-02-05 11:26:00 UTC
SUMMARY
I face this bug specifically in case of keyboard layout change.
I did set up the Alt+Shift combination. It works if I press Alt and the Shift, but if I press Shift first and then Alt - nothing happens.

I also tried to add Shift+Alt manually to ~/.config/kglobalshortcutsrc with kwriteconfig6, but when I open system-settings, the Shift+Alt combination gets removed

Expected that keyboard shortcuts are recognized regardless on keyboard modifiers order (Alt+Shift == Shift+Alt)

STEPS TO REPRODUCE
1. Add extra keyboard layout
2. Setup layout change to Alt+Shift
3. Press Alt+Shift, confirm it works
4. Press Shift+Alt, and see it doesn't works

OBSERVED RESULT
Alt+Shift changes the layout
Shift+Alt does nothing

EXPECTED RESULT
Alt+Shift changes the layout
Shift+Alt changes the layout

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
Wayland session
Comment 1 fanzhuyifan 2025-02-05 15:40:45 UTC

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