<table><tr><td style="">broulik created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D5583" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If the user can neither go back nor forward, hide those controls for a cleaner look.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>If one action (e.g. only "Next" is supported), both buttons are shown with the Back button grayed out. But for the case of a simple stream or so where really only play/pause is supported, it makes it much cleaner:<br />
<a href="https://phabricator.kde.org/F3734636" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F3734636: Screenshot_20170425_174729.png</a></p>

<p>(I initially did this for Task manager but here I found it looked odd with the tiny lost play icon <a href="https://phabricator.kde.org/F3734638" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F3734638: Screenshot_20170425_174546.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5583" rel="noreferrer">https://phabricator.kde.org/D5583</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>lookandfeel/contents/lockscreen/MediaControls.qml</div></div></div><br /><div><strong>To: </strong>broulik, Plasma, VDG<br /><strong>Cc: </strong>plasma-devel, spstarr, progwolff, Zren, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, lukas<br /></div>