Bug 495710

Summary: Unable to activate media keys when modifier key is active.
Product: [Frameworks and Libraries] frameworks-kglobalaccel Reporter: Troplo <troplo>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: REPORTED ---    
Severity: normal CC: fanzhuyifan
Priority: NOR    
Version First Reported In: 6.7.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Troplo 2024-11-02 06:00:38 UTC
SUMMARY
Currently, when holding SHIFT + PLAYPAUSE, the play/pause action does not invoke, the same applies with CTRL. I figured that it thought it was a different shortcut due to the modifier key. After adding, SHIFT + PLAYPAUSE as a custom shortcut for Media Controller > Play/Pause, it still cannot be invoked.

I also attempted to export the shortcut configuration to add various other configurations (as when adding it through the GUI, Shift + Media Pause was added instead of Media Play which is visible in the default configuration).
`playpausemedia=Media Play; Shift+Media Pause; Shift+Media Play`
However, this did not fix the issue either.

STEPS TO REPRODUCE
1. Attempt to play/pause media while holding the SHIFT key.
2. Add SHIFT+PLAYPAUSE as a custom shortcut in the Media Controller > Play/Pause section
3. It will not work either.

OBSERVED RESULT
Unable to play/pause media with a modifier key despite adding it as a manual custom shortcut.

EXPECTED RESULT
Media should play/pause as expected, abiding by the custom shortcut configuration.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.11.6-zen1-1-zen (Arch)
KDE Plasma Version: 6.22
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION