jtamate created this revision. jtamate added reviewers: Frameworks, broulik, ngraham, dfaure. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. jtamate requested review of this revision.
REVISION SUMMARY When a non KIO friendly program opens a non local file, the file is copied to an user temporary folder. Watch any creation or modification in that temporary folder. In that way, even with programs that delete the old file and create a new one when saving the file, the user is asked if he wants to upload the modified file. Delete recursively the temporary directories and any file they could have in the destructor. BUG: 397742 TEST PLAN Tested logging out and in several times and opening remote files with xed and libreoffice. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D15180 AFFECTED FILES src/kioexec/kioexecd.cpp src/kioexec/kioexecd.h To: jtamate, #frameworks, broulik, ngraham, dfaure Cc: kde-frameworks-devel, michaelh, ngraham, bruns