Since the 5.7.1 update I no longer have player controls in the tooltip of the amarok task.
The controls are available in the media player control plasmoid (that you can place in the systray), so mpris and amarok seem to work. Other applications, such as smplayer, work as expected.
Steps to Reproduce:
1. Update to the lastest plasma
2. Have an amarok entry in the icons only task manager
3. Run amarok
4. Mouse hover
Player controls are missing
Player controls are there
Frameworks is 5.24, amarok is 2.8.90
That's due to Amarok's .desktop file being misnamed and was fixed upstream recently.
*** This bug has been marked as a duplicate of bug 365275 ***
Do you happen to have a commit link so I can fix it locally? I can't find that on amarok's gitweb.
Also: as it worked in 5.7.0 and stopped in 5.7.1, I propose that the old, working method is used until there is an amarok release containing that fix.
The commit that changed this behavior is  which was in *before* the 5.7.0 final release, so this is not a regression that occured in 5.7.1.
The previous method used by just using the DBus service name was insufficient and wrong and worked purely by chance with Amarok but did not with eg. Dragon Player, Nuvola, and others. The new approach is correct by asking the application what its desktop file name is and if Amarok lies to us this is solely Amarok's fault.
(In reply to Kai Uwe Broulik from comment #3)
> The commit that changed this behavior is  which was in *before* the 5.7.0
> final release, so this is not a regression that occured in 5.7.1.
Odd, because it worked for me in 5.7.0 and only broke after updating to 5.7.1. I shall assume packaging, then.
> The previous method used by just using the DBus service name was
> insufficient and wrong and worked purely by chance with Amarok but did not
> with eg. Dragon Player, Nuvola, and others. The new approach is correct by
> asking the application what its desktop file name is and if Amarok lies to
> us this is solely Amarok's fault.
End users simply won't care whose fault it is. It worked, it no longer works, they see the error in plasma. So at least a workaround would be nice, because fixing it does not only require it being commited to amarok (which, as far as I can see, didn't happen yet) but also someone making a release out of that and it ending up with packagers. That might take a while, given amarok activity, and in the meantime it stays broken for users.
As a minor sidenote: as I wrote it works in the media player control plasmoid, so either that one uses what you consider a wrong method to, or it has a way which would not break it, maybe that's worth being investigated.
Thinking of it, probably the applet only works because it doesn't have to do a match between application and dbus, so that one is not an option. Ignore that part, rest still valid.
I agree this isn't optimal but this has been wrong in Amarok for years... in Media Controller it works because it doesn't need to map windows to mpris services. You surely don't want media controls for the currently running player on all tooltips.
Also, owing to the lack of reactions on this review request , there doesn't seem to be any interest in fixing this from Amarok's side. Sorry.