Summary: | Regression: player controls no longer show for amarok | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Christian (Fuchs) <kde> |
Component: | Icons-only Task Manager | Assignee: | Eike Hein <hein> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kde, plasma-bugs |
Priority: | NOR | ||
Version: | 5.7.1 | ||
Target Milestone: | 1.0 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Christian (Fuchs)
2016-07-16 11:05:52 UTC
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 [1] 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. [1] https://quickgit.kde.org/?p=plasma-desktop.git&a=commit&h=0d6442d8374f87880de2aad044cd1563ed6fde75 (In reply to Kai Uwe Broulik from comment #3) > The commit that changed this behavior is [1] 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. > [1] > https://quickgit.kde.org/?p=plasma-desktop. > git&a=commit&h=0d6442d8374f87880de2aad044cd1563ed6fde75 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 [1], there doesn't seem to be any interest in fixing this from Amarok's side. Sorry. [1] https://git.reviewboard.kde.org/r/128418/ |