no versioned autosave with multiple open documents in separate inkscape processes

Bug #340598 reported by kartal
4
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Medium
Unassigned

Bug Description

Hi

I love autosave but if I have multiple documents it looks like only one document is versioned in the autosave directory. I have actually lost a work because of a crash and could not retrieve from the folder because there was another document open at the same time. Inkscape zealously versioned just that particular document.

I am under winxp 64bit using Inkscape 0.46+devel r20844, built Mar 7 2009

thanks.

Tags: autosave
Revision history for this message
Michelle Butler (gmichellebutler) wrote :

I thought about this today. When multiple docs are open, they should be autosaved with their saved names, like
<blockquote>mysamplepicture-autosave-0-2009_07_15_17_11_14-001.svg)</blockquote>
and not just be called
<blockquote>inkscape-autosave-0-2009_07_15_17_11_14-001.svg</blockquote>
This should not be difficult to implement.

Revision history for this message
Michelle Butler (gmichellebutler) wrote :

OK, wiki formatting doesn't work :S Here is the above post, a bit cleaner:
______

I encountered this today as well. When multiple docs are open, they should be autosaved with their saved names, like

     mysamplepicture-autosave-0-2009_07_15_17_11_14-001.svg

and not just be called

     inkscape-autosave-0-2009_07_15_17_11_14-001.svg

This should not be difficult to implement.

tags: added: autosave
Revision history for this message
su_v (suv-lp) wrote :

raising importance due to possible data loss.
Does this still happen with recent prerelease builds?

Changed in inkscape:
importance: Undecided → High
status: New → Incomplete
Revision history for this message
prkos (prkos) wrote :

It doesn't seem to happen with 9364. I had two documents open, one time they weren't saved (using Save as to title them), the other times I saved them.

Autosave worked every time. I had it set to 1 min and to save to a special folder inside my home folder.

All the autosaved files still have the same naming used but since the saving occurs at the same second -001 and -002 were appended to the names so both files are saved.

It would be nice to have the files named after the originals if they had been saved and titled but I don't think that one is as crucial.

Maybe someone else should test and confirm before this bug is closed.

Revision history for this message
su_v (suv-lp) wrote :

> it looks like only one document is versioned in the autosave directory
not reproduced with Inkscape 0.47+devel r9410 on OS X 10.5.8 when having multiple files opened within one Inkscape process (i.e. opened within Inkscape with 'File > Open …' or 'File > Open Recent'.

Possibly the original reporter had two separate Inkscape processes running which by chance used the same time stamp for autosaving their open document?

Revision history for this message
Michelle Butler (gmichellebutler) wrote :

As a rule I don't use 'File > Open …' or 'File > Open Recent' as I always have my file manager (Explorer on Windows) open at the folder containing my working svg images. This is simply because there are sometimes, out of necessity, different svg images with very similar names in my projects.

Point being yes, I almost exclusively run separate processes (Windows likes to make processes unresponsive) meaning I can easily have more than five svg images open at one time.

@prkos - quote:
"It would be nice to have the files named after the originals if they had been saved and titled but I don't think that one is as crucial."

Because of the way I work as mentioned above, it is actually crucial to me to have the filenames appended, as I often open the wrong autosave file if I have to identify it from five (per example) possibilities. When I have deadlines, this could potentially be detrimental to my income, as payment would get cut if I deliver late.

su_v (suv-lp)
summary: - Multiple open documents confuses autosave
+ no versioned autosave with multiple open documents in separate inkscape
+ processes
Changed in inkscape:
status: Incomplete → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

The risk of data loss is not that high since the time stamp includes hh-mm-ss, but maybe combining it with either the original filename and/or the process number of the originating Inkscape process would be safer.

Changed in inkscape:
importance: High → Medium
Revision history for this message
prkos (prkos) wrote :

I just tested with 2 separate instances of 9364 and it seems to work.

I also think it would be good to have original names in autosave, what I meant is that having the feature to autosave in general is a more important issue because with it you can eventually get to your work whatever the name is. Maybe the naming issue deserves it's own bug/feature request report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.