OS: openSUSE Tumbleweed 20180723 KDE Plasma Version: 5.13.3 KDE Frameworks Version: 5.48.0 Qt Version: 5.11.1 Kernel Version: 4.17.7-1-default OS Type: 64-bit Amarok Version: 2.9.0 Reproducible: Always Steps to Reproduce: 1. Run Amarok if it was not started. 2. Hover mouse cursor above the Amarok window placed in the "Task Manager" or "Icons-only Task Manager" applet. Actual Results: The Amarok media controls are missed in the "Task Manager" or "Icons-only Task Manager" applet window thumbnail. Expected Results: The Amarok media controls should appear in the window thumbnail of the "Task Manager" or "Icons-only Task Manager" applet.
Created attachment 114131 [details] Amarok - Media controls
Adding Kai to CC since he knows the media controls code best.
Can you provide the output of the following: $ qdbus org.mpris.MediaPlayer2.amarok /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.DesktopEntry (perhaps amarok2 or something but you can use tab autocompletion to find the service name) $ xprop of the Amarok window as well as the name of the desktop file name of Amarok. If the DesktopEntry from the first command doesn't match the file name of the desktop file (excluding the .desktop suffix) then the bug is in Amarok
Yes, sure. $ qdbus org.mpris.MediaPlayer2.amarok /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.DesktopEntry org.kde.amarok
Created attachment 114134 [details] amarok xprop output
$ xprop WM_CLASS(STRING) = "amarok", "Amarok"
What's the name of the desktop file for amarok in /usr/share/applications? is it org.kde.amarok.desktop?
It is located here: /usr/share/applications/kde4/ Yes, the name is org.kde.amarok.desktop I'm sorry for the delay...
Created attachment 114167 [details] org.kde.amarok.desktop
Looks like the "kde4" part is to blame. Are there any other applications in kde4 folder and do they exhibit the same problem?
There are such .desktop files in this location (/usr/share/applications/kde4/): amzdownloader.desktop, kmailservice.desktop, knetattach.desktop, ktelnetservice.desktop, org.kde.amarok_containers.desktop, org.kde.amarok.desktop. But I do not use any of these programs except Amarok. Similar bug exist with VLC (media control button "play/pause" works only for current track), but I still not filled the bug report for this problem already.
If I may jump into this for a bit. I personally have the same issue with Audacious, that can run with qt interface (audacious --qt). I always run it as qt, but from time to time the controls disappear. I want to mention that I usually start audacious using a keyboard shortcut set with the default "Custom Shortcuts" tool (command is `audacious --qt -tm && wmctrl -a audacious`, where -t is to play/pause and -m is to show main window that sometimes backfires thus wmctrl). Closing the application sometimes gets the controls back but right now I've tried 5 times with no effect. Only after I started audacious in gtk I got the controls back, then I switched to qt again and the controls are still there, for some reason. Closing audacious and open it back up... controls are there. Also restarting plasma doesn't fix the issue either, I guess it depends. Also, if it helps. Sometimes I also don't get the cover of the song in the thumbnail, just the default icon when minimized or the window preview when maximized (the icon is sometimes crisp svg form... other times is so pixelated is not even funny, thing that happens when I don't get the controls usually. When I have the controls I get crisp icon and cover art if available). Also sometimes vlc has the play button (▶) grayed out for some reason. Here are the commands asked for previously: $ qdbus org.mpris.MediaPlayer2.audacious /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.DesktopEntry audacious $ ls /usr/share/applications/kde4 kmailservice.desktop knetattach.desktop ktelnetservice.desktop $ xprop WM_CLASS(STRING) = "audacious", "Audacious" I am on KDE Neon 5.13.4. I installed audacious from "ppa:nilarimogard/webupd8"
*** Bug 396863 has been marked as a duplicate of this bug. ***
Works for me with current git master. Can you check again with Plasma 5.19 or git master?
Operating System: openSUSE Tumbleweed 20200713 KDE Plasma Version: 5.19.3 KDE Frameworks Version: 5.71.0 Qt Version: 5.15.0 Kernel Version: 5.7.7-1-default OS Type: 64-bit Amarok Version: 2.9.70 Hi, everything seems to be working fine.
Thanks for the update; changing status.