<table><tr><td style="">nicolasfella retitled this revision from "More RemoteKeyboard cleanup" to "Make RemoteKeyboard.qml self-contained".<br />nicolasfella edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-4lc7vrl3giho5jh/">(Show Details)</a><br />nicolasfella edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-pahrjo6bzne2xpy/">(Show Details)</a>
</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/D12670">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Drop a lot of code.<br />
I'm not 100% sure if my thinking is correct, so somebody please confirm it:<br />
By setting event.accepted = true; we tell Qt to not further process the key event, so it does not reach the text field and thus no text would be displayed. The bunch of code I just deleted works around that and simulates the <br />
original behaviour of the text field. By setting event.accepted to false the event reaches the text field and gets processes natively, making the woraround useless.<br />
<br />
Depends on D12669</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Extract RemoteKeyboard.qml into declarativeplugin to be able to use it from both plasmoid and app without code duplication</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Type text, move cursor, select/copy/cut/paste text</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R224 KDE Connect</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12670">https://phabricator.kde.org/D12670</a></div></div><br /><div><strong>To: </strong>nicolasfella, KDE Connect, hkaelberer<br /><strong>Cc: </strong>kdeconnect, mtijink, apol, KDE Connect, shivanshukantprasad, skymoore, wistak, dvalencia, rmenezes, julioc, Leptopoda, timothyc, jdvr, yannux, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, tctara<br /></div>