#15 fix annoying autosave

Отворено
отворено пре 9 година од simon · 1 коментара
simon коментирира пре 9 година

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 коментирира пре 9 година
Власник

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.
Пријавите се да се прикључе у овом разговору.
Нема фазе
Нема одговорних
1 учесника
Учитавање...
Откажи
Сачувај
Још нема садржаја.