#15 fix annoying autosave

باز‌کردن
9 سال پیش باز شده توسط simon · 1 دیدگاه

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 مشارکت کننده
درحال بارگذاری...
لغو
ذخيره
هنوز محتوایی ایجاد نشده.