#15 fix annoying autosave

Aperto
aperto 9 anni fa da simon · 1 commenti
simon commented 9 anni fa

Autosave is useful. But: it is currently NOT a backup. Let's look at this scenario:

  • open model, start editing (autosave every so many seconds)
  • tool crashes for some reason
  • open model to see what was saved and what was not
  • autosaved model is overwritten after autosave interval

Potentially, what could be done is, when a model is opened, and the autosave is newer than the current model, a pop-up window asks the user whether to restore the autosave or load the older model.

Autosave is useful. But: it is currently NOT a backup. Let's look at this scenario: * open model, start editing (autosave every so many seconds) * tool crashes for some reason * open model to see what was saved and what was not * autosaved model is overwritten after autosave interval Potentially, what could be done is, when a model is opened, and the autosave is *newer* than the current model, a pop-up window asks the user whether to restore the autosave or load the older model.
simon commented 9 anni fa
Proprietario

This is probably not what we want. The interval is now reduced to 30 seconds (instead of 300) to make autosaves more frequent. A user then just has to make sure to open the autosaved model. A way of doing this cleanly would be to detect a 'proper shutdown' of AToMPM and delete the autosave. Then when an autosave is present, we know AToMPM crashed.

This is probably not what we want. The interval is now reduced to 30 seconds (instead of 300) to make autosaves more frequent. A user then just has to make sure to open the autosaved model. A way of doing this cleanly would be to detect a 'proper shutdown' of AToMPM and delete the autosave. Then when an autosave is present, we know AToMPM crashed.
Sign in to join this conversation.
Nessuna milestone
Nessun assegnatario
1 Partecipanti
Caricamento...
Annulla
Salva
Non ci sono ancora contenuti.