kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #27319
Re: Autosave BS
It probably wouldn't be too bad, if each file was timestamped, and
then deleted if/when kicad exits cleanly, therefore unless one has a
very crashy kicad there should be very few autosaves and very few
needed. If you exit kicad cleanly and then want the autosave well
thats user fault.
On 24 January 2017 at 12:26, Chris Pavlina <pavlina.chris@xxxxxxxxx> wrote:
> I'm talking to someone on IRC right now who lost two hours of routing
> because pcbnew crashed, then deleted his autosave file before he could
> make use of it. We need to put some new efforts into:
>
> 1. Never delete autosave data. He may have accidentally saved the board
> before loading the autosave, I'm not sure - pcbnew deletes autosave when
> saving - but there should be some proper protection against this.
>
> 2. Never overwrite potentially useful autosave data - if pcbnew is
> reloaded, a previous autosave shouldn't be deleted either. It should
> only be valid to delete autosave data if the board has not been modified
> since the autosave was made.
>
> 3. Better recovery UI when loading after a crash.
>
> It may be necessary to record in the autosave file which run of pcbnew
> it was created in (timestamp at startup?) to distinguish between old
> autosave data from a previous run (possible recovery source) and data
> from the current run (may be overwritten).
>
> I haven't completely thought this through yet, just starting a thread
> for discussion. This is definitely a problem we need to do something
> about.
>
> -- Chris
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
References