Bug 355726 - Perform save and export in the background
Summary: Perform save and export in the background
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 2.9.8
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-22 12:08 UTC by rebuilderster
Modified: 2016-08-16 13:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rebuilderster 2015-11-22 12:08:50 UTC
I'm working with a large image on a network drive. Autosave is causing minute-long freezeups since saving to the NAS takes a while. Can the save process be done in the background so work isn't interrupted? Failing that, I'd prefer an option somewhere to choose where autosaves are located, so I could point it at a local drive. 

I can disable autosaves, of course, but I do like the feature.

Reproducible: Always
Comment 1 Halla Rempt 2016-03-31 11:54:52 UTC
Hi,

Due to decade-old decisions this isn't easy to  implement, I'm afraid. But it's not just important for saving over network drivers.
Comment 2 Halla Rempt 2016-08-16 13:57:32 UTC
Git commit 189daca58291cf6d3443fdc53eac6d579c66086e by Boudewijn Rempt.
Committed on 16/08/2016 at 13:46.
Pushed by rempt into branch 'video-export-rebased'.

Save to a temporary file, then copy the result over on success

I thought we were already doing this, but apparently that only
was done for remote urls, back in the days we still supported that.

The temporary file is saved in the tmp dir, and then copied over.
We even make a safety copy of the original file if it exists before
doing the copy. This should make saving over network drives faster
and more reliable, as well as saving in general more robust.
Related: bug 366765, bug 357132

M  +63   -17   libs/ui/KisDocument.cpp

http://commits.kde.org/krita/189daca58291cf6d3443fdc53eac6d579c66086e
Comment 3 Halla Rempt 2016-08-16 13:58:28 UTC
Git commit 3f138209f96cc34a72a135e440609e45633e4ae7 by Boudewijn Rempt.
Committed on 16/08/2016 at 13:51.
Pushed by rempt into branch 'master'.

Save to a temporary file, then copy the result over on success

I thought we were already doing this, but apparently that only
was done for remote urls, back in the days we still supported that.

The temporary file is saved in the tmp dir, and then copied over.
We even make a safety copy of the original file if it exists before
doing the copy. This should make saving over network drives faster
and more reliable, as well as saving in general more robust.
Related: bug 366765, bug 357132

M  +63   -17   libs/ui/KisDocument.cpp

http://commits.kde.org/krita/3f138209f96cc34a72a135e440609e45633e4ae7