Bug 380877

Summary: Media keys perform action twice
Product: [Plasma] plasmashell Reporter: Adrian Piotrowicz <nexces>
Component: Media PlayerAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde, plasma-bugs
Priority: NOR    
Version: 5.10.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Adrian Piotrowicz 2017-06-06 07:58:43 UTC
Whenever I push the Play/Pause/Skip buttons, the system seems to respond by performing the action that I just did twice.

For example:
- Music is playing
- I'm pressing Play/pause button on my keyboard
- KDE pauses playback and immediately resumes it

This happens for Amarok and Spotify.
Comment 1 Kai Uwe Broulik 2017-06-06 08:03:59 UTC

*** This bug has been marked as a duplicate of bug 380526 ***
Comment 2 Kai Uwe Broulik 2017-06-06 08:04:38 UTC
Whoops, sorry, I just read "media controls" and immediately assumed it was the infamous screenlocker breaking it bug we had in 5.10.0 :)

I can't reproduce your issue, though.
Comment 3 Adrian Piotrowicz 2017-06-07 04:09:33 UTC
I've found someone with same problem on Manjaro (I've even copied part of report from there): https://forum.manjaro.org/t/media-controls-are-broken-kde/24121

This behavior started somewhere along 5.9 versions, however I'm not sure when.

Spotify reacts for each action twice, play/pause, skip.
Amarok navigates between tracks just fine - play/pause happens as I've described. I have a feeling that Amarok needs more time to react thus one signal get lost/ignored, because even play/pause works fine from time to time.

What can I do to help you investigate?
Comment 4 David Edmundson 2017-06-07 16:31:09 UTC
run dbus-monitor
press a key

then attach the output.
Comment 5 Adrian Piotrowicz 2017-06-12 06:31:43 UTC
And this behavior magically stopped. Spotify works fine now. So does Amarok.
If it will happen again I'll try to reopen this bug.