Lazaris IDE v4.4 - extremely unstable and buggy! lazarus / 9-Editor ---------------------------------------------------------------------- backprop · 2026-02-04 22:54 I have notice Lazaris IDE v4.4 on linux (deb installation for Ubuntu/Kubuntu) have multiple issues and is practically useless to work with. 1. When adding multiple panels on the form in form of nested top- client ones and moving components, operations mostly end with an unrecoverable AV (SIGSEG or whatever). 2. It is also not possible on a panel to select all component with rectangle select, but just one by one  and in group using Ctrl+left mouse click. 3. After using default debugger, break debugging session with Ctrl+F2 and trying to edit code, it usually freeze and only what helps is to terminate it from System Monitor. ---------------------------------------------------------------------- Martin_fr · 2026-02-04 23:12 I don't do much GUI editing on Linux, so I can't comment much. But there is currently an issue when using WAYLAND. And from what I hear that is an issue in wayland itself (but, I don't know / and I don't know if that affects your particular case). Also, the wayland issues may only present in combination with gtk2... If it was that, you might be able to work with QT5. Or by switching to xserver. Further more, you should at least let us know if your issue is with or without: - the docked form editor (form editor is a TAB in the source editor) - anchordocking As for debugging I have seen some desktop managers that are implemented "synchronous" for all apps together. So if any one app blocks (in certain events), all other block. => that means if you set a breakpoint in a mouse/key/paint handler, then that may freeze the entire desktop. Thought that usually happens while the target app is still paused. I don't know about having killed the target app with Ctrl-F2. However this does not match your description, so this is likely not the issue you have. If it was: You could try running the IDE *AND* the debugged app with the command line param --sync It may or may not help. There is also a chance that you killed a debugged app while it had a lock an the clipboard. Then you might get an issue the moment when you try to use the clipboard (again I have only seen that while the debugged app is paused, not after killing it). So if your editor freeze is on "copy to clipboard" then that may be something to look at. When you start the ide from a console/terminal then it will print to the terminal. If you can get the crash (point 1) then it may print useful info. (Hopefully a stacktrace). As for point 3 (editor freeze after debug) You could start again from a console, but this time as   gdb lazarus then enter   r to run the IDE in gdb. When it hangs, press ctrl-c in gdb, and enter bt that will hopefully report some stacktrace that gives an initial clue what happens. ---------------------------------------------------------------------- dbannon · 2026-02-05 03:58 Quote from: backprop on February 04, 2026, 11:54:21 pmI have notice Lazaris IDE v4.4 on linux (deb installation for Ubuntu/Kubuntu) have multiple issues and is practically useless to work with. backprop, in no way trying to devalue what you say, I do use Lazarus 4.4 on Linux and do not experience the problems you describe. But I do some things differently. My Lazarus 4.4 is built from source (using FPC3.2.3) and lives in my home directory. That avoids a major complication caused by having the LCL files in read only space. But there are many other Linux users here who probably use the repo versions who would be making a lot of noise if they experienced your problems. So, maybe,  a few suggestions ? Have you run a memcheck ? Tried running a different desktop, ie not Gnome, KDE or Enlightenment. Those are the ones using Wayland and, frankly Wayland is not quite ready yet. Most Wayland using DEs have, preinstalled, libraries that allow GTK2 apps to bypass parts of Wayland but that code is reported to be not getting much love these days. Think about building a Qt6 version of Lazarus ? Install libqt6pas from your repo. Then download the Lazarus 4.4 source, untar/unzip into a directory in your home directory and build it with the command "make clean bigide  LCL_PLATFORM=qt6". Then start Lazarus from that directory (ideally setting a different config path to your existing Lazarus). Davo ---------------------------------------------------------------------- backprop · 2026-02-07 13:16 I didn't had a time to do anything to track and locate what cause these problems and make minimalist projects which demonstrate all. But I will. Usually that happens with loaded older project and when in some reason IDE collapse. Seems as issues with range problem and some synchronization issues with counting and using components... What I can add as an info is that I do not use Wayland, I have installed xserver (and use X11), since some applications I have made long time ago with Lazarus doesn't work well with Wayland or not at all, as for instance essential part in some application I use and which should get screenshot with BGRABitmap method, or classical calls with GetDC()... ---------------------------------------------------------------------- dbannon · 2026-02-08 09:58 Quote from: backprop on February 07, 2026, 02:16:58 pmUsually that happens with loaded older project and when in some reason IDE collapse. Older projects  ? Containing compiled units ?  Run Menu -> Clean Up and Build ? Davo ---------------------------------------------------------------------- CM630 · 2026-02-08 10:50 I have issues with Lazarus 4.4 disappearing in Windows, but I think  this also happened in 4.2. I tried to disable GUI in target, so I could use writeln, but this worsened things immensely, because Lazarus started to disappear always. The built executables run standalone for days and seem to have no intention to disappear. ---------------------------------------------------------------------- zeljko · 2026-02-08 11:54 Quote from: CM630 on February 08, 2026, 11:50:25 amI have issues with Lazarus 4.4 disappearing in Windows, but I think  this also happened in 4.2. I tried to disable GUI in target, so I could use writeln, but this worsened things immensely, because Lazarus started to disappear always. The built executables run standalone for days and seem to have no intention to disappear. You are using dockedformeditor and anchordocking ? ---------------------------------------------------------------------- CM630 · 2026-02-08 12:08 Yes. Since you are asking, maybe you mean that I shall try without them ---------------------------------------------------------------------- backprop · 2026-02-08 12:30 Quote from: dbannon on February 08, 2026, 10:58:59 amOlder projects  ? Containing compiled units ?  Run Menu -> Clean Up and Build ? I'm talking about old source code files and when IDE collapse with AV when moving common components in created new panels. And I have created multiple nested panels and use also splitters in order to be able to resize content (usually placing two panels in one and their alignment are usually alTop and alClient). In some moment, IDE simply collapse with no particular reason during rearranging components in it visually and also probably create mess in files where components are defined... ---------------------------------------------------------------------- af0815 · 2026-02-08 13:17 One way is, to build a debugversion of Lazarus and start from Commandline. I have seen if you use old code, can have hidden rearrange loops of nested components and the new lazarus is more sensible for such (mabe hidden broken) layouts. You see messages about this only if you start from commandline. ---------------------------------------------------------------------- zeljko · 2026-02-08 13:35 Quote from: CM630 on February 08, 2026, 01:08:54 pmYes. Since you are asking, maybe you mean that I shall try without them  Yes, try. I think I've recently fixed that bug with dockedformeditor where content of tabs dissapeared. https://gitlab.com/freepascal.org/l azarus/lazarus/-/commit/e73d47b482209b518304495a4c59062de2e89237 So check with trunk lazarus (dockedformeditor), or try without anchord docking and dockedform editor. ---------------------------------------------------------------------- CM630 · 2026-02-08 19:10 So I shall replace the files in the ...\lazarus\components\dockedformeditor folder with the ones from gitlab and rebuild the IDE? I will give it a try in the next days and feedback. ---------------------------------------------------------------------- n7800 · 2026-02-09 12:59 Simply replacing files is unsafe. The package also depends on other packages and runs as part of the IDE. You need to install the entire Lazarus trunk version. Fortunately, this is easy to do without deleting the old version or even changing its configuration. There are many ways, including using FpcUpDeluxe. I hope other users can point you in the right direction if you need help. ---------------------------------------------------------------------- CM630 · 2026-02-09 13:30 Indeed, trying to replace only the files resulted in the reinstall of Lazarus. After the reinstal of Lazarus 4.4 I have disabled docking, but still Lazarus disappeared once. Further attempts did not result in misbehaviour. Then I re-enabled it, for some reason, the behaviour was much more stable, still, once Lazarus disappeared. I will keep watching it. I am aware that FpcUpDeluxe exists, but using it requires some research, and I am not sure that I can justify it currently. QuoteThe installer encountered the following error: Error inside worker thread for package fpindexer: Failed to delete file "fpindexer\BuildUnit_fpindexer.pp" make[1]: *** [Makefile:2682: packages_smart] Error 2 make: *** [Makefile:2837: build-stamp.i386-win32] Error 2 fpcupdeluxe: ERROR: FPC Native Installer (BuildModule: FPC): Error running ...\fpcbootstrap\make.exe for FPC failed with exit code 2 . Details: .cupdeluxe fatal error ! ---------------------------------------------------------------------- backprop · 2026-02-21 13:32 Quote from: dbannon on February 05, 2026, 04:58:00 am Think about building a Qt6 version of Lazarus ? Install libqt6pas from your repo. Then download the Lazarus 4.4 source, untar/unzip into a directory in your home directory and build it with the command "make clean bigide  LCL_PLATFORM=qt6". Then start Lazarus from that directory (ideally setting a different config path to your existing Lazarus).https://www.qt.io/development/download-qt-installer BTW, Qt6 is not free, thus I do not think so I will consider it... I have no intention to publish my sources, thus that is out of question. It is funny how such license flow works for "free" software, anyone can do what they want... ;) ---------------------------------------------------------------------- Curt Carpenter · 2026-02-21 14:11 I've been working with Ubuntu 24.04 and Lazarus 4.4 for about a month now, and am thinking about starting over entirely with an older (Wayland-free, Snap less) Linux OS and an older version of Lazarus.  I would welcome inputs on the Linux & Lazarus combination to consider that works together well.  I think most of the problems I'm experiencing are due to Ubuntu 24.  They have tightened their security approach so much that there are things I've not been able to find work-arounds for.   I long for the stability of my old Ubuntu 18 Lazarus 4-2 (32-bit) system... ---------------------------------------------------------------------- backprop · 2026-02-21 14:39 There is no FPC + Lazarus releases which works well... For Linux, I can say only from my experience. I have installed Kubuntu 24.10 while ago and it come only with Wayland, there is no way to switch to X11 anymore, unless install xorg additionally, then you can switch to X11 during login. And under Wayland, there is no way that IDE works correctly, nor applications made with Lazarus. Lazarus and FPC are locked to X11 and GTK2 for now. I think GTK3 was and still is not finished (I can't see roadmap due some AI nonsense limitation). Probably there is no way that GTK3 widgetset ever be finished nor full Wayland support. Thus also applications are locked to GTK2 as well. I do not know for Qt5, Željan Rikalo  (zeljko here) can say more as he is the only person who worked on it, IIRC. ---------------------------------------------------------------------- cdbc · 2026-02-21 15:06 Hi I'm on PCLinuxOS and · we've got Fpc 3.2.2 & Lazarus 4.4 in our repo · lazarus runs really well with Qt-4/5/6 widget-sets, by now we only have Qt6 · wayland is optional, most of us run X11 · FpcUpDeluxe works like charm here It's well worth a try... Regards Benny ---------------------------------------------------------------------- Thaddy · 2026-02-21 15:31 Quote from: backprop on February 21, 2026, 03:39:33 pmThere is no FPC + Lazarus releases which works well... For Linux, I can say only from my experience. I have installed Kubuntu 24.10 while ago and it come only with Wayland, there is no way to switch to X11 anymore, unless install xorg additionally, then you can switch to X11 during login. And under Wayland, there is no way that IDE works correctly, nor applications made with Lazarus. Lazarus and FPC are locked to X11 and GTK2 for now. I think GTK3 was and still is not finished (I can't see roadmap due some AI nonsense limitation). Probably there is no way that GTK3 widgetset ever be finished nor full Wayland support. Thus also applications are locked to GTK2 as well. I do not know for Qt5, Željan Rikalo  (zeljko here) can say more as he is the only person who worked on it, IIRC. Qt6 is stable and the ONLY option if you want to be current. ---------------------------------------------------------------------- backprop · 2026-02-21 15:37 Quote from: Thaddy on February 21, 2026, 04:31:16 pmQt6 is stable and the ONLY option if you want to be current. I do not want to be current and I do not want your posts nor your opinion in my threads and you know very well why.