Bug report: errors after restart/auto-recovery
Posted: Tue Feb 27, 2024 6:56 pm
There have been several feature requests to make TextPad play nice with Windows restart manager and auto-recover unsaved documents/changes when Windows forcefully restarts (usually because of an update) and or power failure. The latest version of Textpad is able to auto-recover unsaved changes/documents. But this introduced several new errors.
Error 1: TextPad reports an incorrect path for a recovered document.
Error 2: TextPad erroneously reports that another application has updated the file with recovered changes
Note that these errors also happen in various combinations if a workspace contains multiple saved and new documents with recovered content. I was able to consistently replicate them. I also had an instance of the first error occurring without having explicitly recovered content (or after it was saved).
Error 1: TextPad reports an incorrect path for a recovered document.
- Start TextPad with a new document.
- Add some content to the document without saving it.
- Restart the computer (or I suppose logging off will also work).
- Upon restart select the option to recover the unsaved document.
- Wait a while (I don't know the exact time it takes).
- TextPad will popup an error saying the document contains an incorrect path.
Error 2: TextPad erroneously reports that another application has updated the file with recovered changes
- Open an existing file.
- Make changes to the content without saving the changes.
- Restart the computer (or I suppose logging off will also work).
- Upon restart select the option to recover the unsaved changes.
- Wait a while (I don't know the exact time it takes).
- TextPad will report that another application has changed the file.
Note that these errors also happen in various combinations if a workspace contains multiple saved and new documents with recovered content. I was able to consistently replicate them. I also had an instance of the first error occurring without having explicitly recovered content (or after it was saved).