<table><tr><td style="">gvgeo created this revision.<br />gvgeo added reviewers: VDG, Plasma, drosca.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />gvgeo 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/D26574">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Don't show devices/applications hamburger menu when there are no options.<br />
Hide "Record/Play all audio via this device" if there is only 1 device.<br />
Prevent unavailable ports be active.</p>

<p>Last is a workaround to prevent locking a device to an unavailable port.<br />
This can happen cause of the lack of a call from pulseaudio for a port<br />
availability change.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Lock can happen when an unused and available port becomes unavailable.<br />
Until data refresh, a user can select the unavailable port. After the<br />
switch if there is only 1 available port, UI will hide port selection,<br />
locking user to an unavailable port.</p>

<p>Depends on <a href="https://phabricator.kde.org/D26418" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D26418</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R115 Plasma Audio Volume Applet</div></div></div><br /><div><strong>BRANCH</strong><div><div>ports (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26574">https://phabricator.kde.org/D26574</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applet/contents/ui/DeviceListItem.qml<br />
applet/contents/ui/ListItemBase.qml</div></div></div><br /><div><strong>To: </strong>gvgeo, VDG, Plasma, drosca<br /><strong>Cc: </strong>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<br /></div>