| Summary: | Double entries if jump lists and mpris controls are enabled | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Christian (Fuchs) <kde> |
| Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Eike Hein <hein> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | kde, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | double entries in cantata (music player) context menu | ||
The way Cantata is using Jump List Actions is not what they're designed for, they aren't dynamic, so they cannot represent Play vs Pause or disable Back/Forward. It should instead hide its entries by adding NotShowIn=KDE to the actions to hide them. I explicitly added this to Task Manager for precisely this case even though it's not specifically mentioned in the Additional application actions spec. Please file a bug report against Cantata instead. |
Created attachment 111322 [details] double entries in cantata (music player) context menu If a media player defines actions in its .desktop file, they are shown in the context menu in the task manager. However, media players might do this because most environments don't auto-add entries based on mpris, so you end up with duplicate entries for common actions like play/pause, stop, previous and next track. The best solution would be to make this conditional, however, this might be hard to implement. A easier solution would be to have a .desktop entry which allows developers to disable mpris (or other automatically) added entries and only use their own.