Bug 352126 - Please bring back media controls for mpris applications
Summary: Please bring back media controls for mpris applications
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Icons-only Task Manager (show other bugs)
Version: 5.4.0
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-01 20:46 UTC by Christian (Fuchs)
Modified: 2016-01-19 21:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian (Fuchs) 2015-09-01 20:46:18 UTC
KDE4s icon-tasks had buttons for mpris compatible applications (e.g. amarok, smplayer, vlc ...) to control media with forward / play / pause / back  buttons. 
Seems like this feature was removed or not (yet) ported to Plasma 5. 

As it provides an easy way to switch tracks on music players, pause videos when you want to hear / see something else etc. I kindly ask you to bring that feature back. 

The plasmoid providing that in the systray is unfortunately not a real alternative, as it seems to not work well if you have multiple mpris-able applications open.

Reproducible: Always

Steps to Reproduce:
1. Open a mpris application, e.g. amarok
2. Play music 
3. Hover mouse over that icon

Actual Results:  
Popup doesn't provide media player controls

Expected Results:  
Popup provides media player controls

Qt is 5.4.2, plasma is 5.4, frameworks is 5.13, apps is 15.08,
Comment 1 Kai Uwe Broulik 2016-01-19 21:47:13 UTC
Git commit f9e87f911bb7823b1ae1aca16606cc9b50adf7e0 by Kai Uwe Broulik.
Committed on 19/01/2016 at 21:42.
Pushed by broulik into branch 'master'.

[Task Manager] Provide media controls in tooltips

This adds media player controls to the tooltip of a media player, using the already
existing mpris dataengine used by the Media Controller applet.

When album art is available, no window thumbnail will be shown, instead the album art.
There will be a close buton on the album art. If the player window is hidden but the player
supports the MPRIS "Raise" command and it is pinned to the task manager, its window can
still be brought to the front, alleviating the need for a system tray icon.

REVIEW: 126647
FIXED-IN: 5.6.0

M  +1    -0    applets/taskmanager/package/contents/ui/Task.qml
M  +239  -69   applets/taskmanager/package/contents/ui/ToolTipDelegate.qml

http://commits.kde.org/plasma-desktop/f9e87f911bb7823b1ae1aca16606cc9b50adf7e0