Inkscape sometimes freeze-locks the system during opperations, so a restart is sometimes necessary. This destroys the temp caches on reboot, so it's not a very safe place to save imho.

If Inkscape crashes, or is "killed" for any reason, Inkscape should indeed offer to restore the previous session when it's started up again.

When an svg file is saved, Inkscape should erase the corresponding temp files associated with that file, and thus do its own garbage-cleanup.
If Inkscape is closed regularly without saving, these files should also be erased, as nothing has gone wrong, and that's what auto-save is for.

My 2p.



On Thu, Aug 23, 2018 at 8:52 AM Jabier Arraiza <jabier.arraiza@...2893...> wrote:
Is posible ask the user to restore last file when inkscape reopen?

-----Original Message-----
From: Maren Hachmann <maren@...3165...>
To: inkscape-devel@lists.sourceforge.net
Subject: Re: [Inkscape-devel] XDG basedir specification
Date: Wed, 22 Aug 2018 23:49:51 +0200

Am 22.08.2018 um 21:18 schrieb Bryce Harrington:
> On Wed, Aug 22, 2018 at 04:11:42PM +0200, Marc Jeanmougin wrote:
> > Hi all,
> >

...

> I would also guess .cache would be where autosaves are supposed to
> go;
> does the XDG spec not give more specific guidance on that type of
> file?
> Where does gimp or other apps like us put their autosaves?

- Sorry to chime in, as I've got no knowledge of the standards. I'd
just
like to ask to please, keep the autosave location configurable. I, for
example, don't have lots of disk space left on my system partition, so
I
like to put them into /tmp (Inkscape crashes frequently, but my
computer
almost never dies completely). That way, they are auto-deleted when I
don't need them anymore...

Another thing I'd like to suggest would be to enable them by default.
Most users who lost work in a crash who contacted us on the forums were
very unhappy that they didn't know about that option, and that some
were
really angry that it wasn't enabled already.

Thanks!

Maren


> Thanks for working on this, improving how autosaves are handled
> sounds
> like something users will expect for 1.0, so it's really good you're
> giving it attention.
>
> Bryce
>
> -------------------------------------------------------------------
> -----------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Inkscape-devel mailing list
> Inkscape-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/inkscape-devel
>


---------------------------------------------------------------------
---------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel