Hi Lazarus Team! Since the two last releases, this issue hasn't been fixed :-(
Here is the bug in this version. Here the steps: Launch Lazarus IDE, Click Project -> View Project Source, then close project1.lpr page, then again Click Project -> View Project Source, then the source page appears to be blank (no project code inside), and cannot compile a project.
Thanks.
I confirm what RadDeveloper said is reproducible on Lazarus 2.2.2 Linux GTK2.
But that only happens on new project, so the steps to produce the issue are:
1. Start Lazarus
2. File > New > Project > Application > OK
3. Project > View Project Source
4. Close the project1.lpr tab on the Source Editor
5. Project > View Project Source