broulik created this revision.
broulik added reviewers: Plasma, Plasma: Design, hein, drosca.
broulik set the repository for this revision to rPLASMADESKTOP Plasma Desktop.
broulik added dependencies: D3301: WIP: [libtaskmanager] Expose process ID of
application, D3300: [Stream] Expose "corked" property.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
This is similar to what most web browsers do nowadays, indicating when audio
is being played with an option to mute it.
When an application has an audio stream and it is actually playing something
("not corked"), after a delay of 3 seconds (to avoid flashing briefly) an audio
icon is displayed which disappears again once audio stops playing. The context
menu always offers the "Mute" option whenever there's an audio stream provided
by the application, so you can still unmute even after playback has stopped.
An application is marked as "Muted" when all associated streams are muted,
and toggling mute will (un)mute all of them.
TEST PLAN
Very crude by touching plasma-pa's privates :/ Works. When plasma-pa is not
available, the Loader will fail and the functionality is disabled.
Depends on https://phabricator.kde.org/D3300 and
https://phabricator.kde.org/D3301
F498022: Screenshot_20161107_162357.png <https://phabricator.kde.org/F498022>
F498023: Screenshot_20161107_162415.png <https://phabricator.kde.org/F498023>
F498024: Screenshot_20161107_162433.png <https://phabricator.kde.org/F498024>
REPOSITORY
rPLASMADESKTOP Plasma Desktop
REVISION DETAIL
https://phabricator.kde.org/D3302
AFFECTED FILES
applets/taskmanager/package/contents/config/main.xml
applets/taskmanager/package/contents/ui/ConfigGeneral.qml
applets/taskmanager/package/contents/ui/ContextMenu.qml
applets/taskmanager/package/contents/ui/Task.qml
applets/taskmanager/package/contents/ui/main.qml
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: broulik, #plasma, #plasma:_design, hein, drosca
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas