Recent

Author Topic: Lazarus IDE application Icon (macOS Big Sur)  (Read 966 times)

LeoBruno

  • Newbie
  • Posts: 4
Lazarus IDE application Icon (macOS Big Sur)
« 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?

ASBzone

  • Hero Member
  • *****
  • Posts: 614
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
Re: Lazarus IDE application Icon (macOS Big Sur)
« Reply #1 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?
-ASB: https://www.BrainWaveCC.com/

Lazarus v2.0.13 r64843 / FPC v3.2.1-r49055 (via FpcUpDeluxe) -- Windows 64-bit install w/Win32 and Linux/Arm cross-compiles
Primary System: Windows 10 Pro x64, Version 2009 (Build 19042)
Other Systems: Windows 10 Pro x64, Version 2009 (Build 19042) or greater

LeoBruno

  • Newbie
  • Posts: 4
Re: Lazarus IDE application Icon (macOS Big Sur)
« Reply #2 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.


trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1521
  • Former Delphi 1-7, 10.2 user
Re: Lazarus IDE application Icon (macOS Big Sur)
« Reply #3 on: April 26, 2021, 02:01:22 am »
That is the icon for the startlazarus.app. The Wiki explains the reason for startlazarus.
Lazarus 2.1 r65061 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 r65500 FPC 3.3.1 r49634 macOS 11.5.1 aarch64 Xcode 12.5.1
Lazarus 2.1 r61574 FPC 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

jwdietrich

  • Hero Member
  • *****
  • Posts: 1180
    • formatio reticularis
Re: Lazarus IDE application Icon (macOS Big Sur)
« Reply #4 on: April 26, 2021, 07:43:27 am »
That is the icon for the startlazarus.app. The Wiki explains the reason for startlazarus.

Linking the Lazarus app from the dock instead of the startlazarus.app provides a stable icon, here tested on macOS Mojave.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.0.12 | FPC 3.2.0 | PPC, Intel, ARM | macOS, Windows, Linux

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1521
  • Former Delphi 1-7, 10.2 user
Re: Lazarus IDE application Icon (macOS Big Sur)
« Reply #5 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.
Lazarus 2.1 r65061 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 r65500 FPC 3.3.1 r49634 macOS 11.5.1 aarch64 Xcode 12.5.1
Lazarus 2.1 r61574 FPC 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

 

TinyPortal © 2005-2018