broulik created this revision. broulik added reviewers: Plasma, Plasma: Design, hein. broulik set the repository for this revision to rPLASMADESKTOP Plasma Desktop. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY This adds common media controls to the context menu of task manager entries. When a player does not have a window opened (running in background) and it has been pinned as a launcher, controls are still offered, alleviating the need for a system tray icon. In addition, a "Restore" option is added to bring to the front the player window in this case, if supported by the player. Also, the "Close" option is replaced by a "Quit" player option if there is no player window. TEST PLAN - Previous/Play/Pause/Next work in context menu - Restore option of launcher (not supported by VLC unfortunately and not shown for it) works - Quit option quit player - Tooltip works as before (showing track name/artist, album art, controlling, bringing player window to the front etc) REPOSITORY rPLASMADESKTOP Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D2019 AFFECTED FILES applets/taskmanager/package/contents/ui/ContextMenu.qml applets/taskmanager/package/contents/ui/Task.qml applets/taskmanager/package/contents/ui/ToolTipDelegate.qml applets/taskmanager/package/contents/ui/main.qml EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma, #plasma:_design, hein Cc: plasma-devel, jensreuterberg, sebas
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel