DownmarkerWPF icon indicating copy to clipboard operation
DownmarkerWPF copied to clipboard

Implement Recovery Feature

Open JakeGinnivan opened this issue 13 years ago • 2 comments
trafficstars

If markpad crashes, any open modified documents should be saved to the file system. On opening Markpad should check for these files, then prompt to recover.

JakeGinnivan avatar Mar 20 '12 04:03 JakeGinnivan

It depends on when and where the crash is - there may not be a chance for 'clean shutdown' (OS crash, for example).

Should we have an auto-save-to-temp-file every minute or so, which can then be recovered?

ghost avatar Mar 27 '12 23:03 ghost

Yeah.

  • Autosave to recovery file every min
  • Best effort to save on crash/force close.
  • On startup, check temp location for existing files, maybe inject original file into yaml header of backup file.

Could use diff tool to accept backups changes (backup on left, actual on right). TortoiseMerge has a chocolatey install which puts it in the path, possible candidate for this.

Sent from my Windows Phone


From: Paul Jenkins Sent: 28/03/2012 7:49 AM To: Jake Ginnivan Subject: Re: [DownmarkerWPF] Implement Recovery Feature (#167)

It depends on when and where the crash is - there may not be a chance for 'clean shutdown' (OS crash, for example).

Should we have an auto-save-to-temp-file every minute or so, which can then be recovered?


Reply to this email directly or view it on GitHub: https://github.com/Code52/DownmarkerWPF/issues/167#issuecomment-4742887

JakeGinnivan avatar Mar 28 '12 00:03 JakeGinnivan