D27684: [applets/taskmanager] Show PA-related features even when audio indicators are disabled

Nathaniel Graham noreply at phabricator.kde.org
Wed Feb 26 19:55:42 GMT 2020


ngraham created this revision.
ngraham added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
ngraham requested review of this revision.

REVISION SUMMARY
  There is a checkbox in the Task Manager settings with the text "Mark applications that
  play audio". Unchecking it does much more than no longer marking applications that play
  audio though; it disabled all PulseAudio-related features. This not only makes the label
  inaccurate, but it also seems undesirable; a user could quite reasonably wish to disable
  the audio indicators while still using PulseAudio-related functionality through the Task
  Manager (e.g. muting an app from the context menu).
  
  This patch makes the setting in question really and truly only show and hide the audio
  indicator icon on the Task; other PA-related functionality is always loaded when
  available.

TEST PLAN
  Open an app or window that can play audio and start playing audio with it
  Make sure that audio indicators are visible
  Right-click on the task and see that there's Mute item (provided by PA
  Configure the Task Manager and disable audio indicators
  See that the audio indicator icon is gone from the task
  Right-click on the task and see that the Mute item is still there
  Configure the Task Manager again and re-enable audio indicators
  See that the audio indicator icon re-appears on the task
  
  BUG: 418164
  FIXED-IN: 5.18.3

REPOSITORY
  R119 Plasma Desktop

BRANCH
  show-mute-feature-even-when-audio-indicators-are-disabled (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D27684

AFFECTED FILES
  applets/taskmanager/package/contents/ui/Task.qml
  applets/taskmanager/package/contents/ui/main.qml

To: ngraham, #plasma
Cc: 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200226/86438e2a/attachment.html>


More information about the Plasma-devel mailing list