<table><tr><td style="">eduisters created this revision.<br />eduisters added a reviewer: KDE Connect.<br />Herald added a project: KDE Connect.<br />Herald added a subscriber: kdeconnect.<br />eduisters 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/D17081">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Combine multiple upload jobs for files into a single KCompositeJob so only 1 notification will be shown<br />
Includes changes introduced in <a href="https://phabricator.kde.org/D16279" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D16279</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Share of multiple files is performed using 1 composite job
<br /><br />
Setup:<ul class="remarkup-list">
<li class="remarkup-list-item">Select multiple (big) files in dolphin and share with an Android device Result:</li>
<li class="remarkup-list-item">The files will be transferred using 1 CompositeUploadJob and showing only 1 notification</li>
</ul></li>
</ol>
<ol class="remarkup-list" start="2">
<li class="remarkup-list-item">Share of file while another share is already running adds job to existing composite job
<br /><br />
Setup:<ul class="remarkup-list">
<li class="remarkup-list-item">Select multiple (big) files in dolphin and share with an Android device</li>
<li class="remarkup-list-item">Share an additional file with the same Android device Result:</li>
<li class="remarkup-list-item">The files are all transferred using 1 CompositeUploadJob and showing only 1 notification</li>
<li class="remarkup-list-item">The notification is updated after adding the last file</li>
</ul></li>
</ol>
<ol class="remarkup-list" start="3">
<li class="remarkup-list-item">Other packets are transmitted as usual
<br /><br />
Setup:<ul class="remarkup-list">
<li class="remarkup-list-item phantom-item"><ul class="remarkup-list">
<li class="remarkup-list-item">Setup sharing desktop notification with device</li>
</ul></li>
<li class="remarkup-list-item">Share a big file with an Android device</li>
<li class="remarkup-list-item">Generate a desktop notification (eg. sending or receiving an email)
<br /><br />
Result:</li>
<li class="remarkup-list-item">Notification packet is send immediately</li>
</ul></li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R224 KDE Connect</div></div></div><br /><div><strong>BRANCH</strong><div><div>composite_job_for_uploads</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17081">https://phabricator.kde.org/D17081</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>cli/kdeconnect-cli.cpp<br />
core/CMakeLists.txt<br />
core/backends/lan/CMakeLists.txt<br />
core/backends/lan/compositeuploadjob.cpp<br />
core/backends/lan/compositeuploadjob.h<br />
core/backends/lan/landevicelink.cpp<br />
core/backends/lan/landevicelink.h<br />
core/backends/lan/uploadjob.cpp<br />
core/backends/lan/uploadjob.h<br />
plugins/share/shareplugin.cpp<br />
plugins/share/shareplugin.h<br />
tests/sendfiletest.cpp</div></div></div><br /><div><strong>To: </strong>eduisters, KDE Connect<br /><strong>Cc: </strong>kdeconnect, shivanshukantprasad, skymoore, wistak, dvalencia, rmenezes, julioc, Leptopoda, timothyc, jdvr, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, mikesomov, tctara, apol<br /></div>