#15 fix annoying autosave

Açık
simon tarafından 9 yıl önce kere açıldı · 1 yorum
simon 9 yıl önce olarak yorumlandı

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 yıl önce olarak yorumlandı
Sahibi

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.
Giriş yap bu konuşmaya katılmak için.
Kilometre Taşı Yok
Atanan Kişi Yok
1 Katılımcı
Yükleniyor...
İptal
Kaydet
Henüz bir içerik yok.