Luca Olivetti wrote 30 lines
El 12/4/20 a les 11:45, Bo Berglund via lazarus ha escrit:
> I have installed FPC 3.0.4/Lazarus 2.0.6 from sources retrieved by SVN
> onto a repurposed HP EliteBook 8440w laptop where I have installed
> Ubuntu 18.04.4 LTS.
>
> Lazarus starts up OK and I can build an application, which I have
> created in Windows (project sources retrieved via SVN onto the
> laptop). Things seem to work pretty well, if not perfect.
>
> However I have been annoyed by one thing that is really disturbing:
>
> If I minimize Lazarus using the minimize button in the upper right
> corner of the main window (where the menu and all component tabs are)
> then all other windows are also minimized as expected.
> But if I restore the main window by clicking on its placeholder in the
> bottom bar, then ONLY that window appears, all others remain minimized
> and I have to click on each and every of these to get them back.
>
> What have I missed here? Is there a setting I have overlooked?
>
> I have never seen this in Windows and also not on RaspberryPi with
> Raspbian Wheezy-Jessie-Pixel-Buster. All have worked the same as on
> Windows in this respect.
>
I suppose it depends on the window manager/desktop environment.
FWIW it doesn't happen here with kubuntu 19.10 and lazarus 2.0.6 (though
I compiled it with fpc 3.2RC1 instead of 3.0.4 but I don't think that
makes a difference).
I have a standard Ubuntu 18.04.4 LTS desktop install except I have also installed the classic gnome extension in order to get an application menu, which I am used to.
I did this:
sudo apt install gnome-shell-extensions
Then I had to log out and back in after changing the desktop I was logging on to on the login screen.
Now my Lazarus shows up in the Programming category of the main menu as it should.
If I log on to the normal Ubuntu then I have to search for Lazarus every time I want to start it, which is very strange.
I did a test now and logged on to the standard desktop and started Lazarus.
Then I minimized it and when I clicked on the Lazarus icon on the sidebar (where running applications are shown) a new panel popped up where I could choose from the 5 different windows Lazarus had created...
The one I clicked on would show up alone, not very useful...
Even if I select the main window then only that will be shown.
I don't know if this is a problem with Ubuntu or with Lazarus on Ubuntu but it is rather annoying in any case.
A workaround would be useful (maybe use Linux Mint instead?)
Bo Berglund
Developer in Sweden