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.
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.
https://github.com/CDrummond/cantata/issues/1233