Bug 383724 - Modified Blender files don't get uploaded
Summary: Modified Blender files don't get uploaded
Status: RESOLVED DUPLICATE of bug 397742
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.37.0
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-20 04:08 UTC by Matthew Trescott
Modified: 2018-08-30 16:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***