Recent

Author Topic: Can't put Lazarus in dock  (Read 723 times)

DanielO

  • New member
  • *
  • Posts: 7
Can't put Lazarus in dock
« on: March 18, 2025, 03:14:58 am »
I have never encountered this before: Lazarus (in the Applications folder) won't let me drag it to the dock. Lazarus is the only piece of software with this problem -- I can easily put other things in the dock. Google has never heard of this problem. Ideas?

JimKueneman

  • Full Member
  • ***
  • Posts: 246
Re: Can't put Lazarus in dock
« Reply #1 on: March 18, 2025, 04:09:08 am »
Just tried 4.0 RC2 (with the fixes up to a few days ago) and Sequoia on a M1 iMac,  no issues putting the application in the dock.

Jim

DanielO

  • New member
  • *
  • Posts: 7
Re: Can't put Lazarus in dock
« Reply #2 on: March 18, 2025, 05:07:43 am »
OK, this makes me sound very ignorant, but I've been using Macs for many years and this has never happened before.
Lazarus is not installed in Applications -- it is under /opt/local/share/lazarus I had to right click on the lazarus.app shortcut in Applications, choose Show Original, and then drag THAT one to the dock.
Is there a good reason why Lazarus does not install itself as an Application like everything else does?

JimKueneman

  • Full Member
  • ***
  • Posts: 246
Re: Can't put Lazarus in dock
« Reply #3 on: March 19, 2025, 03:21:23 pm »
Every time I feel like that lately it has something to do with the new attributes

https://wiki.freepascal.org/Installing_Lazarus_on_macOS#Installing_Lazarus_from_Source

Mainly this part...

Quote
Note: When building Lazarus from source, Apple very kindly add a quarantine attribute to your *.app files that ensures they will not run. xattr -drv com.apple.quarantine * will solve this for you.

VTwin

  • Hero Member
  • *****
  • Posts: 1227
  • Former Turbo Pascal 3 user
Re: Can't put Lazarus in dock
« Reply #4 on: March 22, 2025, 08:33:23 pm »
What version of Lazarus are you using? I have no problem dragging "lazarus.app" to the dock.
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 15.3.2: Lazarus 3.8 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 3.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 3.8 (64 bit on VBox)

 

TinyPortal © 2005-2018