Bug 447905

Summary: When setting express button actions, keyboard shortcuts using META key cannot be set
Product: [Plasma] wacomtablet Reporter: tamius.han
Component: generalAssignee: Valerii Malov <jazzvoid>
Status: REPORTED ---    
Severity: normal CC: ian.h.chamberlain
Priority: NOR    
Version: 3.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description tamius.han 2022-01-03 23:47:28 UTC
SUMMARY
***
When setting express button actions, an action cannot be a shortcut that contains meta key. 
***


STEPS TO REPRODUCE
1. In Graphic Tablet settings, select 'Express button' tab
2. Click the "Click to assign action" field for a button. This will open the "Select Button Action" popup.
3. Click the button ('None' by default) at the bottom, next to the keyboard symbol
4. Press META + [the rest of the shortcut] — for example, CTRL + META + 1

OBSERVED RESULT
The button displays currently pressed keys (or 'Input...' if no keys have been pressed yet). When META key is pressed, the text on the button reverts to 'None' and no action is set.

EXPECTED RESULT
The button will display the keyboard shortcut (CTRL + META + 1 if following the example from before), and the action is set.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  5.15.12-1-MANJARO (64-bit)
(available in About System)
KDE Plasma Version: 5.23.4 
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I've also tried a few shortcuts that don't have META key in their keypress. Those shortcuts worked — so far, the problem appeared only with shortcuts that included META key.