Bug 423664

Summary: Media Player plasmoid shortcuts not working
Product: [Plasma] plasmashell Reporter: Phos <phyllon>
Component: Media Player widgetAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.23.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Phos 2020-06-29 16:20:36 UTC
SUMMARY
Media keys/shortcuts do not work properly.

STEPS TO REPRODUCE
1. Use the media player plasmoid
2. Change from "choose player automatically" to something else (in my case I changed to audacious for music with firefox, I have plasma intergration)
3. Changing it back to "choose player automatically" does not fix the issue.

OBSERVED RESULT
Shortcuts such as pressing the media pause key stops working and reassigning the shortcut fails to fix the issue. Logout/login fixes the issue.

EXPECTED RESULT
Media shortcut keys work properly when pressed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro 5.6.16-1
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
I am using the plasma intergration plugin.
Pause/play also does not work with wireless headphones.
Other media keys like next/previous do not work.
Comment 1 Nate Graham 2020-07-02 01:34:14 UTC
When it's in a broken state, what audio source is displayed in the Media Player system tray applet?
Comment 2 Phos 2020-07-05 05:18:39 UTC
(In reply to Nate Graham from comment #1)
> When it's in a broken state, what audio source is displayed in the Media
> Player system tray applet?

It breaks the moment you change it from "Choose player automatically" to something else. In my case I change it from "Choose player automatically" to "firefox" (when watching a youtube video), then it breaks. Changing it back to "Choose player automatically" does not fix the issue.
To clarify, it breaks the moment you change it to something other than "Choose player automatically"
Comment 3 Phos 2020-07-05 05:23:44 UTC
It shows firefox whenever I change it to firefox. Then it breaks. It is not unique to firefox either, the same thing happens when you change it to audacious.
Comment 4 Nate Graham 2020-07-06 16:03:10 UTC
Thanks.
Comment 5 Phos 2021-11-28 04:51:04 UTC
Since I haven't noticed this bug occurring recently, I'll assume it has been fixed