Please check the updates/questions on
https://bugs.freepascal.org/view.php?id=34194#c111709Especially pay attention to:
Note: Bookmarks for any file in the session that is NOT open in any editor, are not present in the IDE (not in the menu, no key-shortcut, no other reference). This has been like this before, and is by design.
Please verify, that any bookmark "lost" while copying a project to a new directory, is only checked/expected to exist, if the file (in which it is set) is open in an editor.
----------------------------
I noted from your session, that all editors are closed for your project. Why would that be?
If all editors are closed, then there would/should be no bookmarks in the menu.
Bookmarks will be (re-)added to the menu, when you open files. The bookmarks will only appear
after you open the file in which they are.
Check, if after applying the fix in revision 59402, you still "loose" bookmarks (that is they are missing, even though you have the file open in an editor).
If they are still missing, check if the file has a different relative path in your session. The file must be in the same relative folder to the project dir, as it was before.
----------------
About the fact that all your editors are closed:
I suspect you may be using "Close all" from the file menu. Maybe you are trying to close the project?
"Close all" from the file menu, only closes the editors. The project will still be open.
The only way to close the project, is by opening another project. Or in the project menu, use "Close Project", which will force you to open a new project.
When you start the IDE, it will always open a project. You can specify in the option, if it should open the last project, or if it should open a new empty project. But it will open a project, there is no way to prevent this.
If you start the IDE, after you had before done "Close all", it will still open the project, you will just not see any units in any editor.
You can always check, via "project inspector" from the project menu. You will also see, that "run" will still run your project.
-------------
I also noted, that for some reason unit1 is not part of the project. That is no problem, but you may want to go to the project inspector and add it anyway (this is not related to any bookmark behaviour)