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