Bug 423887 - New Global Shortcuts KCM misrecords inputs with Shift and numbers
Summary: New Global Shortcuts KCM misrecords inputs with Shift and numbers
Status: RESOLVED DUPLICATE of bug 423305
Alias: None
Product: frameworks-kdeclarative
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.71.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-04 21:46 UTC by Renan Guilherme
Modified: 2020-07-07 21:18 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Renan Guilherme 2020-07-04 21:46:52 UTC
SUMMARY
Shortcuts that use Shift and numbers (for example, Meta+!/Meta+Shift+1) are misrecorded by Global Shortcuts, causing them to not work.

STEPS TO REPRODUCE
1. Open System Settings
2. Click on Shortcuts > Global Shortcuts
3. Select any application or service (for example, KWin)
4. Assign a custom shortcut that uses both Shift and a number to any action (for example, assign Meta+!/Meta+Shift+1 to the "Maximize Window" action)
5. Click Apply
2. Press Meta+!/Meta+Shift+1 on the keyboard to perform the action

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
The action should be performed

ADDITIONAL INFORMATION
The new Global Shortcuts KCM is recording inputs such as "Meta+Shift+1" as "Meta+Shift+!", which causes them not to be activated by KGlobalAccel, which is expecting inputs such as "Meta+!".

I have verified this by manually editing the ~/.config/kglobalshortcutsrc file and removing the Shift modifier from the shortcuts created on the Global Shortcuts KCM. After restarting the session, the shortcuts worked.

I also downloaded Kubuntu 18.04.4 to see if this issue was present in the old Global Shortcuts KCM. This version of the KCM recorded the "Meta+Shift+1" input as "Meta+!", and activating this shortcut performed the action without problems.

SOFTWARE/OS VERSIONS
Linux distribution: Arch Linux
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0
Comment 1 Nate Graham 2020-07-07 21:18:07 UTC

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