D26574: [Applet]Hide hamburger menu when empty

George Vogiatzis noreply at phabricator.kde.org
Fri Jan 10 22:25:30 GMT 2020


gvgeo created this revision.
gvgeo added reviewers: VDG, Plasma, drosca.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
gvgeo requested review of this revision.

REVISION SUMMARY
  Don't show devices/applications hamburger menu when there are no options.
  Hide "Record/Play all audio via this device" if there is only 1 device.
  Prevent unavailable ports be active.
  
  Last is a workaround to prevent locking a device to an unavailable port.
  This can happen cause of the lack of a call from pulseaudio for a port
  availability change.

TEST PLAN
  Lock can happen when an unused and available port becomes unavailable.
  Until data refresh, a user can select the unavailable port. After the
  switch if there is only 1 available port, UI will hide port selection,
  locking user to an unavailable port.
  
  Depends on D26418 <https://phabricator.kde.org/D26418>

REPOSITORY
  R115 Plasma Audio Volume Applet

BRANCH
  ports (branched from master)

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

AFFECTED FILES
  applet/contents/ui/DeviceListItem.qml
  applet/contents/ui/ListItemBase.qml

To: gvgeo, #vdg, #plasma, drosca
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, 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/20200110/bdc84e51/attachment.html>


More information about the Plasma-devel mailing list