What is the course of action when Delphi discovers recoverable files?

My Delphi Tokyo 10.2.1 IDE just crashed. When rebooting, I get an invitation:

enter image description here

RAD Studio restored the following files. Save the ones you want to save.

A file comparison shows that at the moment the file in __recovery indeed the latest version, but nothing has been restored
(Note: a particular file was not reopened in the IDE because a crash prevented the IDE from registering it as an open file. The project that this file belongs to was not even current in the project group, for the same reason).

There is a Close button in the dialog box. I can select this file or not. I started testing several options.

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

  • If I choose No, nothing will change. File cannot be restored, __recovery contents remain unchanged
  • I wanted to check this also when I select "Yes", but no copy of the old source file and __recovery folder now triggers an IDE warning again. I can not check further variations. Now the IDE clears the __recovery folder.

This is a bit of a mess. Recovery not working? Are dialogue texts unclear?

I would expect the following behavior from such a dialogue:

  • He presents me the discovered files. The text says: RAD Studio has detected the following files. Select the ones you want to save.
  • The user must select the files that he wants to recover.
  • If any unused files remain, the message "Cancel the remaining recovered files" appears.

Does anyone know what (f) is actually happening? What should I do (select / answer) here?
I could not find the answer on the Internet.

Because now I am left with the restored file and the empty __recovery folder. Fortunately, I made backups.

+5
source share
1 answer

Double-click the list item to open it in the editor, but as a source file with unsaved changes, i.e. in the same state, it was at the point of automatic saving.

+1
source

Source: https://habr.com/ru/post/1270966/


All Articles