<table><tr><td style="">ngraham created this revision.<br />ngraham added a reviewer: Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />ngraham requested review of this revision.
</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/D27684">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>There is a checkbox in the Task Manager settings with the text "Mark applications that<br />
play audio". Unchecking it does much more than no longer marking applications that play<br />
audio though; it disabled all PulseAudio-related features. This not only makes the label<br />
inaccurate, but it also seems undesirable; a user could quite reasonably wish to disable<br />
the audio indicators while still using PulseAudio-related functionality through the Task<br />
Manager (e.g. muting an app from the context menu).</p>

<p>This patch makes the setting in question really and truly only show and hide the audio<br />
indicator icon on the Task; other PA-related functionality is always loaded when<br />
available.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Open an app or window that can play audio and start playing audio with it<br />
Make sure that audio indicators are visible<br />
Right-click on the task and see that there's <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Mute</span></span></span> item (provided by PA<br />
Configure the Task Manager and disable audio indicators<br />
See that the audio indicator icon is gone from the task<br />
Right-click on the task and see that the <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Mute</span></span></span> item is still there<br />
Configure the Task Manager again and re-enable audio indicators<br />
See that the audio indicator icon re-appears on the task</p>

<p>BUG: 418164<br />
FIXED-IN: 5.18.3</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>BRANCH</strong><div><div>show-mute-feature-even-when-audio-indicators-are-disabled (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27684">https://phabricator.kde.org/D27684</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/taskmanager/package/contents/ui/Task.qml<br />
applets/taskmanager/package/contents/ui/main.qml</div></div></div><br /><div><strong>To: </strong>ngraham, Plasma<br /><strong>Cc: </strong>plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>