This feature was implemented by @Ondrej. He's definitely not irritated and grumpy. In fact he's very helpful.
Yes, this one should be reported, it has happened with other people, too.
However Ondrej has not been able to reproduce it either.
It means the people who can reproduce must do some research and debugging about where it goes wrong.
There is:
function TMainIDEBar.CalcMainIDEHeight: Integer;
Add DebugLn() lines and start Lazarus from a console. The debug output goes to the same console. Defining a log file is possible, too.
In my opinion the windows option feature conflicts with the desktop feature. Please try this:
1. Make sure "Automatically adjust IDE main window height" is checked
2. Adjust the main window height as you like
...
GetMem, the main window height cannot be adjusted manually when the option is checked.
Yes, the windows option feature conflicts with the desktop feature. It is a mess.
I remember Ondrej has plans to revamp it. Now he is busy with personal affairs. I don't know how long it takes.