https://bugs.kde.org/show_bug.cgi?id=403636
Bug ID: 403636 Summary: Media Pause button doesn't work properly Product: khotkeys Version: 5.14.5 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: general Assignee: k...@michael-jansen.biz Reporter: edarocha1...@gmail.com Target Milestone: --- SUMMARY I have a Bluetooth headset that has media buttons (play/pause, next, previous and volume up and down). All buttons work, but there's a problem when pressing the play/pause button: It only works every second time. That is, I press the button -> music stops; I press again -> nothing happens; I press again -> music resumes; I press again -> nothing happens. I found out (using xev) that my headset alternates sending X86AudioPlay and XF86AudioPause on every press. When XF86AudioPause is sent, nothing happens. One can say "Yeah, on the Global Shortcuts it's configured to only listen to Media Play, so you should add Media Pause to it too". Well, were it been that simple I wouldn't have written this bug report :D When I replace the shortcut to be Media Pause (or add it as a global alternative), the shortcut is saved, but nothing happens. That is, the bug still occurs. When it's added as an alternative, only every second press pauses/resumes the player. When replacing it with Media Play, the play/pause button doesn't work at all. When using xdotool to emulate the keypress it doesn't work either. I fiddled with the shortcuts a little bit and I found out this problem doesn't only apply to the media player. Any shortcut I set the trigger to be Media Pause (XF86AudioPause) doesn't work. Example: I create a custom shortcut (e.g. open konsole) and set it's trigger to be Media Pause. It listens to the key press, I can configure the shortcut properly, but the shortcut itself doesn't work. When I do the same thing with Media Play (XF86AudioPlay), the shortcut works as intended (e.g. konsole is opened). STEPS TO REPRODUCE 1. Set a shortcut's trigger to be Media Pause (either an existing or a new shortcut) 2. Press the Media Pause button (or emulate it with xdotool) OBSERVED RESULT Nothing happens EXPECTED RESULT The shortcut executes its assigned action SOFTWARE/OS VERSIONS Linux: Arch Linux (Linux Version 4.20.3) KDE Plasma Version: 5.14.5 KDE Frameworks Version: 5.54.0 Qt Version: 5.12.0 -- You are receiving this mail because: You are watching all bug changes.