Automatically save SVG art each x minutes

Asked by Victor Westmann

Hi there. I`d like to ask if you guys think it is a good idea for us to implement automatically save feature inside Inkscape.

It would work the same way it does on Microsoft Office 2003 and newer versions: if a document is opened for more than x minutes -- to be determined by the user -- the program checks the current document against the last saved document. If it is different it would save on top of the last version.

Even though we already have the automatically recover SVG art when Inkscape crashes I believe this would be a good feature. Do you guys think this could be proposed as a new feature request? I searched the bug list using the keywords "automatically" and "save"and read all the list before writing this to avoid duplicates. Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
mahfiaz
Solved:
Last query:
Last reply:
Revision history for this message
su_v (suv-lp) said :
#1

Inkscape already has an auto-save feature since Inkscape 0.47.
http://wiki.inkscape.org/wiki/index.php/Release_notes/0.47#Autosave

Are you asking about an integrated versioning system which could be managed from within Inkscape? A simple variant for example would be a GUI to access the versions saved via Autosave from within Inkscape; a more complex request could be e.g. to extend the Inkscape SVG file format to include persistent undo history, and thus implement a version control system based on incremental changes stored within the Inkscape SVG file itself?

Revision history for this message
Victor Westmann (victor.westmann) said :
#2

Hi ~suv. Actually the question is really simple to be honest. Just to auto
save file from x to x minutes.

I believe that having a full versioning system inside inkscape -- or that
it could be controlled from inside inkscape -- would cost a lot of
development time for the dev team. And they can always use SVN, Git,
Bazaar, Mercurial.

What do you think?

--Victor Westmann

2015-11-07 16:52 GMT-02:00 ~suv <email address hidden>:

> Your question #273862 on Inkscape changed:
> https://answers.launchpad.net/inkscape/+question/273862
>
> ~suv posted a new comment:
> Inkscape already has an auto-save feature since Inkscape 0.47.
> http://wiki.inkscape.org/wiki/index.php/Release_notes/0.47#Autosave
>
> Are you asking about an integrated versioning system which could be
> managed from within Inkscape? A simple variant for example would be a
> GUI to access the versions saved via Autosave from within Inkscape; a
> more complex request could be e.g. to extend the Inkscape SVG file
> format to include persistent undo history, and thus implement a version
> control system based on incremental changes stored within the Inkscape
> SVG file itself?
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
su_v (suv-lp) said :
#3

On 2015-11-07 21:52 (+0100), Victor Westmann wrote:
> Actually the question is really simple to be honest. Just to auto
> save file from x to x minutes.

You want to propose that Inkscape's current 'Autosave' feature is changed to overwrite the original file itself, instead of saving a copy every x minutes in a special directory (the autosaved copies can be used to restore an eariler version e.g. in case an unexpected corruption occurs, e.g. due to a crash)?

Or do you want to add a second auto-save feature in Inskcape, which (optionally) could be enabled to have Inskcape overwrite the original file every x minutes?

Revision history for this message
Victor Westmann (victor.westmann) said :
#4

Hi Suv. The 2nd option.

--Victor Westmann

2015-11-07 19:07 GMT-02:00 ~suv <email address hidden>:

> Your question #273862 on Inkscape changed:
> https://answers.launchpad.net/inkscape/+question/273862
>
> ~suv posted a new comment:
> On 2015-11-07 21:52 (+0100), Victor Westmann wrote:
> > Actually the question is really simple to be honest. Just to auto
> > save file from x to x minutes.
>
> You want to propose that Inkscape's current 'Autosave' feature is
> changed to overwrite the original file itself, instead of saving a copy
> every x minutes in a special directory (the autosaved copies can be used
> to restore an eariler version e.g. in case an unexpected corruption
> occurs, e.g. due to a crash)?
>
> Or do you want to add a second auto-save feature in Inskcape, which
> (optionally) could be enabled to have Inskcape overwrite the original
> file every x minutes?
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Victor Westmann (victor.westmann) said :
#5

Shoot. Feeling silly now. Just realized the 0.91 version ALREADY have this
feature implemented. hehe

--Victor Westmann

2015-11-07 19:51 GMT-02:00 Victor Westmann <
<email address hidden>>:

> Your question #273862 on Inkscape changed:
> https://answers.launchpad.net/inkscape/+question/273862
>
> You gave more information on the question:
> Hi Suv. The 2nd option.
>
>
> --Victor Westmann
>
> 2015-11-07 19:07 GMT-02:00 ~suv <email address hidden>:
>
> > Your question #273862 on Inkscape changed:
> > https://answers.launchpad.net/inkscape/+question/273862
> >
> > ~suv posted a new comment:
> > On 2015-11-07 21:52 (+0100), Victor Westmann wrote:
> > > Actually the question is really simple to be honest. Just to auto
> > > save file from x to x minutes.
> >
> > You want to propose that Inkscape's current 'Autosave' feature is
> > changed to overwrite the original file itself, instead of saving a copy
> > every x minutes in a special directory (the autosaved copies can be used
> > to restore an eariler version e.g. in case an unexpected corruption
> > occurs, e.g. due to a crash)?
> >
> > Or do you want to add a second auto-save feature in Inskcape, which
> > (optionally) could be enabled to have Inskcape overwrite the original
> > file every x minutes?
> >
> > --
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
su_v (suv-lp) said :
#6

On 2015-11-07 23:08 (+0100), Victor Westmann wrote:
> Just realized the 0.91 version ALREADY have this feature
> implemented.

As mentioned in my first reply - timed Autosave exists since Inkscape 0.47.

Here's again the link to the release notes describing the feature when first introduced:
http://wiki.inkscape.org/wiki/index.php/Release_notes/0.47#Autosave

Inkscape 0.91 has the same Autosave feature (for timed backups) that was introduced a few years back in Inkscape 0.47.

Inkscpe 0.91 has however no built-in feature to 'save' (as in 'overwrite the original file') at a timed interval.

Revision history for this message
Best mahfiaz (mahfiaz) said :
#7

Victor, please mark ~suv's answer as good answer.

Revision history for this message
Victor Westmann (victor.westmann) said :
#8

Thanks mahfiaz, that solved my question.