-
-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media playback keys no longer detected #1546
Comments
I've tested global shortscuts on KDE using KGlobalAccel, 3 different keyboard, it's working fine here. KDE Plasma 6.1.5 and KDE Frameworks 6.5.0. I didn't change anything that should affect global shortcuts in version 1.1.2 either. |
Bit ashamed to admit it, but after a reboot, the issue is now gone. I don't know why the thought hadn't crossed my mind sooner... 😬 Sorry for wasting your time! |
Hmm, seems like the issue is back, and I can narrow it down to a reproducible error - even across restarts. When I open Strawberry without passing a media file as argument, the media keys work as expected. I can then add music to it (drag&drop, loading a playlist, etc.) and use it as expected. If I however open Strawberry by double-clicking a music file (thus launching Strawberry with a file argument), the media key issues as originally described appear. So it effectively comes down to how I launch the application. I have done a system update and am still on Strawberry 1.1.2 at this time. EDIT 1: It seems like this issue only occurs on KDE. I originally thought it might be caused by the EDIT 2: The same behaviour/issue is occuring with VLC, with the same behaviour regarding opening files! Sounds like it's related to the KDE media playback tray widget. There's an ongoing discussion about it over at the KDE bug tracker. |
I'm reopening this issue as the problem still persists in Strawberry v1.1.3. |
Describe the bug
I'm vaguely paraphrasing, but it seems that a KDE update has changed how events related to media controls are dispatched, and Strawberry is not aware of this change (yet). The behaviour described in this issue over at the KDE bug tracker closely matches my issue:
None of these problems seem to occur when I start Strawberry without any additional file arguments (think "double-clicking" the desktop shortcut), and then play music. The issue only occurs when I double-click a music file, which KDE then opens via Strawberry (thus passing the file path as argument).
My Strawberry/KDE shortcuts are set to default keybindings.
To Reproduce
Expected behavior
The listed media buttons should work irrespective of how Strawberry was opened.
Screenshots:
System Information:
Additional context
I suspect there is a problem with how Strawberry detects keypresses, as if I rebind the media shortcuts to miscellaneous keyboard buttons (e.g.
J
/H
/K
/ etc.), I can use these buttons as expected. Specifically the media buttons seem to be the issue. In fact, when I attempt to rebind these keyboard buttons back to the proper media buttons, the window prompting me for a keybind does not register anything, and remains empty:See https://bugs.kde.org/show_bug.cgi?id=490569
The text was updated successfully, but these errors were encountered: