[Lazarus] Losing desktop when restarting Lazarus - where are desktop settings saved?
bo.berglund at gmail.com
Sun Dec 27 09:49:15 CET 2020
On Sun, 27 Dec 2020 09:12:20 +0100, Bo Berglund via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
>I want to restore it from my backup of Lazarus settings but I don't
>know where Lazarus saves this information...
So I searched in the config files that had changed the last day and
found environmentsoptions.xml contains a section for Desktop entries.
So I could restore that file from my backup made back in October and
now the Lazarus desktop operates properly again on Raspberry.
>And I would like to know *why* Lazarus loses this information, it is
>not the first time it happened...
Still what I need to know to understand what I should not do with
Lazarus since this has happened way to many times now.
On Windows I restored from the weekly backup made Dec 21st and got
that back too. When I did so I noticed that the timestamp of the file
(modification) was from October even though the backup is from Dec
But on both of my Lazarus 2.0.8 installs (Windows and Raspberry) the
timestamp had been set to today on the broken file, so obviously the
environment file was rewritten in the last 24 hours for some strange
reason on both Windows and Raspberry and losing the desktop settings
at that time.
THe only item I have changed recently on both of the installations is
the number of recent projects to show in the list from the default 5
I believe I have modified that on both Windows and Raspberry possibly
causing a rewrite of the environment file (and then losing the
I have both the broken and the backed up file available if someone is
able to use that to decode what could have happened...
Developer in Sweden
More information about the lazarus