<table><tr><td style="">sredman edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-f7iq23jjfawu5p4/">(Show Details)</a><br />sredman edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-56xglucjxcsua7o/">(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/D16475">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);">Attempts to make requestMoreMessages synchronous were highly unsuccessful.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">The most serious change from this patch is to move the asynchronous replying to a request from the app for more messages to a newly-spawned, self-destructing thread. Within that thread,</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Therefor</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">we block until the remote device replies with the requested messages.<br />
<br />
All gotten messages are cached in the ConversationDbusInterfac</span>e, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">I have moved the useful changes from those efforts to this patch</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">so all future requests are fast and don't hit the remote device.</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">After applying this diff, the messaging app should show <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">all</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">10</span> messages <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">in the conversation when the conversation is first loaded, and should show the first 10 on all subsequent showings</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">every time it is opened</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/D16475">https://phabricator.kde.org/D16475</a></div></div><br /><div><strong>To: </strong>sredman, KDE Connect<br /><strong>Cc: </strong>nicolasfella, kdeconnect, 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, apol<br /></div>