Recent

Author Topic: Lazarus Release 4.0  (Read 64942 times)

azuar

  • Newbie
  • Posts: 2
Re: Lazarus Release 4.0
« Reply #60 on: May 08, 2025, 02:29:43 am »
thanks bro

cpalx

  • Hero Member
  • *****
  • Posts: 754
Re: Lazarus Release 4.0
« Reply #61 on: May 08, 2025, 04:49:18 pm »
There is a problem with tooltips (hints) in Kubuntu 24.04 and Xubuntu 22.04. Every time the mouse hovers over buttons, an empty form appears instead of the expected tooltip text.

The issue does not occur immediately after startup. Instead, it happens randomly while working, suggesting it might be triggered by a specific action or lazarus state.
« Last Edit: May 08, 2025, 04:51:56 pm by cpalx »

zeljko

  • Hero Member
  • *****
  • Posts: 1751
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus Release 4.0
« Reply #62 on: May 08, 2025, 04:56:03 pm »
It's gtk2 widgetset ?

PascalDragon

  • Hero Member
  • *****
  • Posts: 5968
  • Compiler Developer
Re: Lazarus Release 4.0
« Reply #63 on: May 08, 2025, 09:54:48 pm »
Indeed Thaddy, indeed.  But I do agree with Carl, while it may be the official release, FPC3.2.2 is probably inappropriate for most people. Personally, FPC3.2.4 (beta) is a far, far better choice.

That doesn't change that there can be no official release with a development version or not-fully released version cause that will only lead to problems with support.

jwdietrich

  • Hero Member
  • *****
  • Posts: 1255
    • formatio reticularis
Re: Lazarus Release 4.0
« Reply #64 on: May 09, 2025, 12:34:53 am »
Thanks, but the version for Apple Silicon processors is damaged and cannot be launched.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 4.0.0 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

dbannon

  • Hero Member
  • *****
  • Posts: 3351
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release 4.0
« Reply #65 on: May 09, 2025, 01:50:05 am »
Thanks, but the version for Apple Silicon processors is damaged and cannot be launched.

That is a well know problem with all recent Apple OS, because Apple users seem to tolerate it, Apple make all new .app directories as not executable with a hidden attribute. I'm guessing Lazarus should fix this itself but apparently not ?

See the first Note under here https://wiki.freepascal.org/Installing_Lazarus_on_macOS#Installing_Lazarus_from_Source

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

jwdietrich

  • Hero Member
  • *****
  • Posts: 1255
    • formatio reticularis
Re: Lazarus Release 4.0
« Reply #66 on: May 09, 2025, 04:39:25 pm »
Thanks, but the version for Apple Silicon processors is damaged and cannot be launched.

That is a well know problem with all recent Apple OS, because Apple users seem to tolerate it, Apple make all new .app directories as not executable with a hidden attribute. I'm guessing Lazarus should fix this itself but apparently not ?

See the first Note under here https://wiki.freepascal.org/Installing_Lazarus_on_macOS#Installing_Lazarus_from_Source

Davo

One of the main problems is that the error message is misleading. The app is not damaged. The only problem is that it isn't notarised, but this is a different thing from damage.

I could solve the problem now by right-clicking the executable and then executing the following command from the terminal:

xattr -rc /Applications/lazarus/lazarus.app

Of course, it would be great if Lazarus and FPC were code-signed and notarised.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 4.0.0 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

zeljko

  • Hero Member
  • *****
  • Posts: 1751
    • http://wiki.lazarus.freepascal.org/User:Zeljan

munair

  • Hero Member
  • *****
  • Posts: 855
  • compiler developer @SharpBASIC
    • SharpBASIC
Re: Lazarus Release 4.0
« Reply #68 on: May 10, 2025, 10:59:55 am »
It is nice to see that Pascal has been in a slight upward trend recently, back in the top 10.
https://www.tiobe.com/tiobe-index/delphi-object-pascal/
It's only logical.

Okoba

  • Hero Member
  • *****
  • Posts: 617
Re: Lazarus Release 4.0
« Reply #69 on: May 10, 2025, 02:26:18 pm »
Thank you!

calm_sea

  • Jr. Member
  • **
  • Posts: 56
Re: Lazarus Release 4.0
« Reply #70 on: May 10, 2025, 08:29:18 pm »
Yes, it is normal. If you want to have dark IDE on Windows, you have two options.

As suggested by @Hansvb, install the MetaDarkStyle package, go to the IDE Options window, on the left side select the Environment/Dark style branch, in comboboxes choose Force dark and Dark respectively, save changes and reboot the IDE — from now the IDE will be dark.

Thanks, with this package I now have the dark theme. For me the ideal would be to have the form view clear and everything else dark. But I know I'm asking too much ...  :D

dbannon

  • Hero Member
  • *****
  • Posts: 3351
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release 4.0
« Reply #71 on: May 11, 2025, 04:19:08 am »
One of the main problems is that the error message is misleading. The app is not damaged. The only problem is that it isn't notarised, but this is a different thing from damage.

No, this problem is not an "notarised" issue. As I said, its a attribute the Apple OS applies to any new .app file is sees being made. That attribute is hidden (superficially) but easily removed with the xattr command, as documented in the wiki.

(mind you, having it notarised would be good but why should Lazarus pay a fee to Apple when all it would establish is that Lazarus has paid a fee to Apple ?  Its sort of a protection racket really.)

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

silvercoder70

  • Full Member
  • ***
  • Posts: 183
    • Tim Coates
Re: Lazarus Release 4.0
« Reply #72 on: May 11, 2025, 05:00:15 am »
Hey Everyone! Just uploaded a new video checking out Lazarus 4.0 — the latest version of the Free Pascal IDE. I do a quick tour of the updated interface, show how to create a simple GUI app, and go over how to install extra packages (minimap if needed) to add more features.

▶️ Watch it here: https://youtu.be/zBImv-TjIzg
🔥 Pascal Isn’t Dead -> See What It Can Do: @silvercoder70 on YouTube

flowCRANE

  • Hero Member
  • *****
  • Posts: 926
Re: Lazarus Release 4.0
« Reply #73 on: May 11, 2025, 01:58:28 pm »
For me the ideal would be to have the form view clear and everything else dark.

I am of exactly the same opinion, I even submitted such a proposal on GitHub, to which the author of this package replied that it can't be done, that it is not possible in this package. I don't believe it's impossible, but I'm not going to argue.

In the end I have two Lazarus installations — one (dark) for developing applications that do not use LCL (e.g. my game engine, console apps etc.), and a second (standard white) for developing LCL-based applications where I need a designer. I don't like it, but this compromise is the only solution.
Lazarus 4.0 with FPC 3.2.2, Windows 10 — all 64-bit

Working solo on a retro-style action/adventure game (pixel art), programming the engine from scratch, using Free Pascal and SDL3.

munair

  • Hero Member
  • *****
  • Posts: 855
  • compiler developer @SharpBASIC
    • SharpBASIC
Re: Lazarus Release 4.0
« Reply #74 on: May 11, 2025, 05:48:22 pm »
There was a time when most IDE's had a code editor with white background (excluding the DOS era of blue backgrounds). I still use white backgrounds and simply cannot and won't get used to trending dark background app development. You wouldn't write on a black piece of paper right? Well, it saves me from switching code/form interface making Lazarus a comfortable development environment. Just my two cents.
It's only logical.

 

TinyPortal © 2005-2018