Lazarus

Using the Lazarus IDE => General => Topic started by: LeoBruno on April 25, 2021, 07:07:36 pm

Title: Lazarus IDE application Icon (macOS Big Sur)
Post by: LeoBruno on April 25, 2021, 07:07:36 pm
Hi:

I´m a long time delphi developer, but a Lazarus/FPC newbie.

After successfully setting up my development environment, I noticed that the Lazarus IDE shortcut icon (macOS dock bar) is empty, and it changes after the IDE starts.

How to correct this and why dos this happens?
Title: Re: Lazarus IDE application Icon (macOS Big Sur)
Post by: ASBzone on April 25, 2021, 11:23:51 pm
Hi:

I´m a long time delphi developer, but a Lazarus/FPC newbie.

After successfully setting up my development environment, I noticed that the Lazarus IDE shortcut icon (macOS dock bar) is empty, and it changes after the IDE starts.

How to correct this and why dos this happens?

Hi LeoBruno,

Which version of FPC/Lazarus did you install?
Title: Re: Lazarus IDE application Icon (macOS Big Sur)
Post by: LeoBruno on April 26, 2021, 12:00:51 am
Hi:

I´m a long time delphi developer, but a Lazarus/FPC newbie.

After successfully setting up my development environment, I noticed that the Lazarus IDE shortcut icon (macOS dock bar) is empty, and it changes after the IDE starts.

How to correct this and why dos this happens?

Hi LeoBruno,

Which version of FPC/Lazarus did you install?

Hi!

Thank you for replying.

Lazarus 2.0.12 and FPC 3.2.0.

I don't know if it helps, but I have recompilled the IDE in order to use docked forms.

Bellow is a print screen with the empty icon which gets docked if the IDE isn' running.

Title: Re: Lazarus IDE application Icon (macOS Big Sur)
Post by: trev on April 26, 2021, 02:01:22 am
That is the icon for the startlazarus.app. The Wiki explains the reason for startlazarus (https://wiki.freepascal.org/Startlazarus).
Title: Re: Lazarus IDE application Icon (macOS Big Sur)
Post by: jwdietrich on April 26, 2021, 07:43:27 am
That is the icon for the startlazarus.app. The Wiki explains the reason for startlazarus (https://wiki.freepascal.org/Startlazarus).

Linking the Lazarus app from the dock instead of the startlazarus.app provides a stable icon, here tested on macOS Mojave.
Title: Re: Lazarus IDE application Icon (macOS Big Sur)
Post by: trev on April 26, 2021, 09:58:29 am
Linking the Lazarus app from the dock instead of the startlazarus.app provides a stable icon, here tested on macOS Mojave.

I tried this on Big Sur, then used OPM to add some components and when the IDE rebuilds and restarts you end up with the startlazarus icon which, when clicked, turns into the Lazarus icon until you exit and it's back to the startlazarus icon. The original Lazarus icon is still in the dock but when clicked creates another dock icon for Lazarus so you end up with two. If you keep the second Lazarus icon in the dock, it reverts to the startlazarus icon when you exit Lazarus.
TinyPortal © 2005-2018