<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />davidedmundson 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/D14924">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>KScreenlocker tries to clear the clipboard on load. However, klipper<br />
also (by default) automatically keeps the last relevant item in the<br />
clipboard. Whilst both parts work correctly, Plasma as a whole does not.</p>
<p>This became a problem when we added the reveal password button as it is<br />
a data leak.</p>
<p>Instead of clearing the clipboard this patch replaces it with a real<br />
entry, but with a dummy mime value that is of no value to anyone,<br />
especially a textfield.</p>
<p>By using x-kde-passwordManageHint we can prevent klipper from storing<br />
this entry so it's completely transparent with a working clipboard after<br />
the session is complete.</p>
<p>My preferred solution of the two</p>
<p>BUG: 388049</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Reproduced issue<br />
Made this patch<br />
Tried pasting in session<br />
Nothing happned<br />
Logged in<br />
Could paste</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R133 KScreenLocker</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14924">https://phabricator.kde.org/D14924</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>greeter/greeterapp.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>