delphiidefile-recoverydelphi-10.2-tokyo

Course of action when Delphi detects recoverable files?


My Delphi Tokyo 10.2.1 IDE just crashed. On restart I get the prompt:

enter image description here

RAD Studio has recovered the following files. Save the ones you wish to keep.

A file compare shows that at that moment the file in __recovery is indeed the latest version, but nothing has been recovered yet
(Note: The specific file was not re-opened in the IDE, because the crash prevented the IDE from registering that as an open file. The project that this file is part of was not even the current one in the project group, for that same reason).

The dialog only has a Close button. I can select that file or not. I started testing several variations.

Regardless of whether I select it, after clicking Close, Delphi asks Discard remaining recovered files?.

This is a bit of a mess. Does recovery not work? Are the dialog texts so unclear?

I would expect the following behavior from such a dialog:

Does anyone know what (f)actually happens? What am I supposed to do (select/answer) here?
I could not find the answer online.

Because right now I am left with a not recovered file and an empty __recovery folder. Luckily I made backups.


Solution

  • Double click the list item to open it in the editor, but as the original file with unsaved changes, i.e. the same state it was at the point of the auto save.