<table><tr><td style="">ngraham retitled this revision from "[WIP] Automatically re-upload saved files located on remote locations instead of asking first" to "Automatically re-upload saved files located on remote locations instead of asking first".<br />ngraham edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-63cov2mgaoezlbh/">(Show Details)</a><br />ngraham edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-cbeizd47i7qkqwj/">(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/D15318">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>This is a non-optimal user experience that is not consistent with the local file save experience and exposes implementation details. Therefore, automatically re-upload the saved file with no confirmation just like the user expects.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">TODO: implement rate-limiting. Maybe only allow another upload after the last one sends its "finished" signal<br />
</span>TODO: test with ftp, sftp, nfs, fish, and gdrive ioslaves<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>2. Change the file in LibreOffice, but before saving it, delete or rename the file on the Samba share.<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
3.</span> <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Observe that </span>KIO notices and alerts you:{F6250885} {nav Save Nevertheless} saves the file anyway, and {nav Save Somewhere Else} displays a KDE file picker at the original location that allows you to save it elsewhere. Both work as expected.<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
<br />
Put a very large GIMP document on a Samba share.<br />
<br />
1. Open the file, edit it, and save it.<br />
2. Wait for the file to finish saving, and then *immediately* edit it and save again (i.e. while the first save is still uploading)<br />
3. Close and open the document again<br />
3. Observe that the second set of edits were saved to the file on the Samba share</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15318">https://phabricator.kde.org/D15318</a></div></div><br /><div><strong>To: </strong>ngraham, Frameworks, broulik, jtamate<br /><strong>Cc: </strong>elvisangelaccio, kde-frameworks-devel, broulik, jtamate, michaelh, ngraham, bruns<br /></div>