<table><tr><td style="">broulik retitled this revision from "RFC: [Task Manager] Indicate applications playing audio" to "[Task Manager] Indicate applications playing audio".<br />broulik updated the summary for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-37upbn4jabi76v5/" rel="noreferrer">(Show Details)</a><br />broulik updated the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-s42rf7vlomku2oz/" rel="noreferrer">(Show Details)</a><br />broulik updated this revision to Diff 8024.<br />broulik added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D3302" rel="noreferrer">View Revision</a></tr></table><br /><div><div><ul class="remarkup-list">
<li class="remarkup-list-item">Reduced delay for icon to 2 seconds</li>
<li class="remarkup-list-item">Let enabling/disabling the setting take effect immediately</li>
<li class="remarkup-list-item">Maximum size for icon and hide it when there's not enough room - should make it okay'ish for icon-only task manager in vertical panel</li>
</ul>
<ul class="remarkup-list">
<li class="remarkup-list-item">While the "is playing" icon is shown only when there's actually sound being played, the "muted" icon is - when the stream is muted - shown always when the application has an audio stream. This way you can immediately tell that an application is muted and it doesn't come to a surprise when it starts playing and you can't actually hear anything. (hard to explain in words)</li>
</ul></div></div><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>When an application has an audio stream and it is actually playing something ("not corked"), after a delay of <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">3</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">2</span> 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,<span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);"> so you can still unmute even after playback has stopped. Also, the "muted" icon will be shown whilst the application is muted,</span> <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">so you can still unmute even after playback has stopp</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">regardless of whether sound is actually being play</span>ed.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">Very crude by touching plasma-pa's privates :/ Works. When plasma-pa is not available, the Loader will fail and the functionality is dis</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">When plasma-pa is not avail</span>able<span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">d.<br />
<br />
Also not very happy with</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">,</span> the <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">Instantiator hack but dealing with models from QML,</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">Loader will fail and the functionality is disabled.</span> <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">urgh. Positioning/Sizing of the volume icon needs improvement and is currently borked for icon-only task manager (it's just put ontop of the icon</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">Should we mark plasma-pa as an optional runtime dependency or something like that?<br />
<br />
Not very happy with the Instantiator hack but dealing with models from QML</span>, <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">full size)</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">urgh.</span><br />
<br />
Depends on D3300 and D3301<div style="padding: 8px 0;">...</div>{F498024}<br />
<br />
<span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">{F498028}</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">{F498028}<br />
<br />
{F498803}<br />
Vertical icon-tasks manager. not really ideal, though</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMADESKTOP Plasma Desktop</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D3302?vs=7985&id=8024" rel="noreferrer">https://phabricator.kde.org/D3302?vs=7985&id=8024</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3302" rel="noreferrer">https://phabricator.kde.org/D3302</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/taskmanager/package/contents/config/main.xml<br />
applets/taskmanager/package/contents/ui/ConfigGeneral.qml<br />
applets/taskmanager/package/contents/ui/ContextMenu.qml<br />
applets/taskmanager/package/contents/ui/Task.qml<br />
applets/taskmanager/package/contents/ui/main.qml</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>broulik, Plasma, Plasma: Design, drosca, hein<br /><strong>Cc: </strong>colomar, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>