<table><tr><td style="">broulik created this revision.<br />broulik added reviewers: Plasma, VDG, drosca.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />broulik 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/D12083">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When the default output changes because a device is plugged in or a Bluetooth headset is connected, show an OSD so the user knows when/that the device is ready to use.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Turned on my Bluetooth headset, took a second two connect (Bluetooth Icon shows dots), and then took another couple of seconds for PulseAudio to recognize the device and then the OSD showed up.<br />
If a device icon is available (e.g. headset) it is shown, otherwise the volume icon (using the correct icon depending on volume) shows up:<br />
<a href="https://phabricator.kde.org/F5802585" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F5802585: Screenshot_20180410_123739.png</a><br />
<a href="https://phabricator.kde.org/F5802580" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F5802580: Screenshot_20180410_123511.png</a></p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Verified that no OSD is shown on startup (the default changes once from none to whatever is the default)</li>
<li class="remarkup-list-item">Verified that no OSD is shown when user explicitly changes the Default in the applet</li>
<li class="remarkup-list-item">Did not test what happens if I plug in headphone jack (where the profile on the same device changes from speaker to headphones)</li>
<li class="remarkup-list-item">Changing output configuration in volume settings might spawn the OSD when you disable/enable a device that used to be a default at one point</li>
</ul>

<p>There's a setting in the applet, default is enabled:<br />
<a href="https://phabricator.kde.org/F5802577" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F5802577: Screenshot_20180410_123345.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R115 Plasma Audio Volume Applet</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12083">https://phabricator.kde.org/D12083</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applet/contents/code/icon.js<br />
applet/contents/config/main.xml<br />
applet/contents/ui/ConfigGeneral.qml<br />
applet/contents/ui/DeviceListItem.qml<br />
applet/contents/ui/ListItemBase.qml<br />
applet/contents/ui/main.qml<br />
src/qml/dbus/osdService.xml<br />
src/qml/volumeosd.cpp<br />
src/qml/volumeosd.h</div></div></div><br /><div><strong>To: </strong>broulik, Plasma, VDG, drosca<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>