<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: Plasma, VDG.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />ngraham 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/D28209">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently the row's opacity is changed from 0% to 100% depending on focus state, but it<br />
does not actually become hidden when at 0% opacity. This means that it's possible to<br />
click the invisible buttons accidentally when focusing the applet. This has been an<br />
issue for a long time, but becomes dangerous with <a href="https://phabricator.kde.org/D28064" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: line-through;">D28064</a>, since you could delete a note just by clicking in the bottom-right corner to focus the applet!</p>

<p>This patch makes the button row actually hidden when the applet is not focused, not just<br />
100% transparent.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Clicking on the place where a button will appear on an unfocused applet now just focuses<br />
it and does not also click the button</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R114 Plasma Addons</div></div></div><br /><div><strong>BRANCH</strong><div><div>hide-row (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28209">https://phabricator.kde.org/D28209</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/notes/package/contents/ui/main.qml</div></div></div><br /><div><strong>To: </strong>ngraham, Plasma, VDG<br /><strong>Cc: </strong>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<br /></div>