strawberrymusicplayer / strawberry

:strawberry: Strawberry Music Player
https://www.strawberrymusicplayer.org/
GNU General Public License v3.0
2.69k stars 185 forks source link

KDE Shortcut no longer works #1289

Closed deanrih closed 1 year ago

deanrih commented 1 year ago

Describe the bug I don't know since what version since I stopped listening music on my PC for quite a while (instead using my phone) due to work, but now when I tried to do it I notice that my global shortcuts no longer works, for example I use CTRL+ALT+A to Show/Hide the Strawberry window, and it's not showing up even though the app is opened (hidden with tray icon showing up), then I tried to open the app window manually, and try to trigger the shortcut again, which doesn't affect it and then I opened the Settings window showing the same setting as I remembered, with the shortcut still there, I uncheck the Use X11 shortcuts when available because it has warning saying Using X11 shortcuts on KDE is not recommended... so I disable it, but since now it doesn't work I tried to enable it and it works. The problem is it works previously with the settting disabled, and in KDE's Shortcut System Settings, there's strawberry section that have basically the same shortcut setting as in the strawberry app, but weirdly enough, it doesn't have an icon meaning it doesn't recognized as actual strawberry app?

Here's the screenshot: image

Also when I tried to add Strawberry app shortcut manually to KDE Shortcut Settings, it only shows a fraction of shortcut options compared to previous one: image At least this one is listening to the shortcut and work with the Use X11 shortcuts when available being disabled.

Also I tried removing the existing strawberry shortcut entry from the KDE Shortcut settings change some shortcut from Strawberry, enabling and disabling the Use X11... option hoping it will recreate the entry but it doesn't nor it fix the issue, so for now I have to enable the Use X11... option

To Reproduce

  1. Open Strawberry
  2. Go to Settings
  3. Enable the Use X11 shortcuts... if it's disabled
  4. Setup the shortcut
  5. Disable the Use X11 shortcuts...
  6. Try to trigger the shortcut

Expected behavior The shortcut should trigger the function just like it was previously

Screenshots: Attached and provided above

System Information:

Additional context N/A

jonaski commented 1 year ago

KDE Shortcuts works for me here. I'm pretty sure this is an configuration issue.

image

jonaski commented 1 year ago

Looks like you are missing KGlobalAccel, there should be an option for that on top:

image

jonaski commented 1 year ago

On my distro (openSUSE) the package is called kglobalaccel5. Check with Manjaro community support what the package is called if you can't find it.

deanrih commented 1 year ago

Unfortunately, it already installed

image

deanrih commented 1 year ago

Unfortunately, it already installed

image

I think I found the problem, there's something wrong with the Flatpak install, the Manjaro repository one seems fine and can detect the KGlobalAccel

jonaski commented 1 year ago

I suggest you open a new issue here: https://github.com/flathub/org.strawberrymusicplayer.strawberry/issues

deanrih commented 12 months ago

I suggest you open a new issue here: https://github.com/flathub/org.strawberrymusicplayer.strawberry/issues

Will do