[Lazarus] Losing desktop when restarting Lazarus - where are desktop settings saved?
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Dec 28 11:45:04 CET 2020
On Mon, 28 Dec 2020 11:21:00 +0100
Bo Berglund via lazarus <lazarus at lists.lazarus-ide.org> wrote:
> On Mon, 28 Dec 2020 01:35:54 +0100, Mattias Gaertner via lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>
> >On Sun, 27 Dec 2020 18:58:58 -0500
> >wkitty42--- via lazarus <lazarus at lists.lazarus-ide.org> wrote:
> >
> >> On 12/27/20 5:15 PM, Mattias Gaertner via lazarus wrote:
> >> > When the IDE starts, and there is no environmentoptions.xml file
> >> > it copies it from the secondary config directory. Maybe you are
> >> > seeing that?
>
> Where is this "secondary config dir" located?
See
View - IDE Internals - About IDE
>[...]
> The only thing I think is in common between these instances, which
> happened on both Windows and Linux, is that I have used the
> Tools/Options to increase the count for recent projects from the
> default 5 to 10. I always seem to get a project I want to open
> disappear from that list when it only holds 5 recent projects.
Same here. I have 30,30.
This is unrelated with the desktop issue.
The env file is written pretty often.
>[...] I believe I did so on both Lazarus installations.
>
> So what does Lazarus do when one changes this value?
> Does it rewrite the environment file based on the default or what?
> I made a test to check this (since using the backup file brought back
> the 5 files limit):
> It seems like it rewrites the environment fiile by changing the 5 to
> 10 but also by changing the sequence of some xml nodes...
If your backup is months old, then maybe some functions in the IDE
changed, changing the order.
> But it does not visibly affect the way Lazarus looks when starting up
> again.
Restart lazarus making sure the config is working.
Make a backup of environmentoptions.xml.
When the next time it happens, send the backup and the current
version.
Mattias
More information about the lazarus
mailing list