<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: VDG, Plasma.<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/D28064">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>I've personally observed various users struggle to remove a Sticky Note widget, and heard<br />
anedcotal user reports about this too. Some people look for a close button and don't <br />
find one, never thinking to press-and-hold or right-click. Some people do right-click<br />
but right-click in the content area rather than the frame (which look identical), and see<br />
the context menu for the text rather than the widget itself.</p>
<p>This patch alleviates this user confusion by adding a <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Remove</span></span></span> button on the button<br />
row on the bottom of the widget, next to the <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Configure...</span></span></span> button. This makes it<br />
very easy to remove a Sticky Note. This is not destructive because there's an undo, so<br />
it's not a big deal if someone clicks the button by mistake.</p>
<p>It could be argued that this makes the applet inconsistent with other widgets which do<br />
not display visible <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Remove</span></span></span> buttons, which is true. However the nature of the Sticky<br />
Note applet is that it is likely to be used in a more transient or temporary manner than<br />
other widgets; it often has more in common with a temporary document than a permanent<br />
fixture of your desktop. For this reason, I believe it is appropriate to show a visible<br />
<span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Remove</span></span></span> button on the widget.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p><a href="https://phabricator.kde.org/F8177920" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F8177920: Get rid of it.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R114 Plasma Addons</div></div></div><br /><div><strong>BRANCH</strong><div><div>show-remove-button-too (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28064">https://phabricator.kde.org/D28064</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, VDG, Plasma<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>