Bug 383724

Summary: Modified Blender files don't get uploaded
Product: [Frameworks and Libraries] frameworks-kio Reporter: Matthew Trescott <matthewtrescott>
Component: generalAssignee: David Faure <faure>
Severity: major CC: kdelibs-bugs, nate
Priority: NOR    
Version: 5.37.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Matthew Trescott 2017-08-20 04:08:21 UTC
I opened a Blender (.blend) file from my gdrive:// in Dolphin, edited, and saved it. At no point was the modified version uploaded back to Drive, even after closing Blender. I was _very_ lucky I had backed up the cached file in ~/.cache/kioexec/krun/whatever.

I imagine this is due to Blender creating backup files with the .blend1 extension in the same folder as the file currently open.

I was at first going to label this as "critical" but since I found that it only affects Blender it's not _quite_ as horrible.
Comment 1 Elvis Angelaccio 2017-08-20 10:12:34 UTC
It seems to me that blender deletes the old file and creates a new one with the same name, which is why kioexec ignores it. This is quite unusual, most applications just edit the old file when saving it. I'm not sure how could we handle this case.

Btw, this affects every ioslave and not just gdrive.
Comment 2 Nate Graham 2018-08-22 21:10:51 UTC
Basically the only way we could handle this unusual case is with Bug 75324 (or some other local mount solution).

*** This bug has been marked as a duplicate of bug 75324 ***
Comment 3 Nate Graham 2018-08-30 16:08:17 UTC
Actually this is a dupe of Bug 397742; seems we *can* detect this condition!

*** This bug has been marked as a duplicate of bug 397742 ***