Lazarus is not working lazarus / 13-General ---------------------------------------------------------------------- Amir61 · 2025-03-25 04:07 Hi all,  I recently upgraded my machine to FC41 (from FC40) and it broke Lazarus! I cannot run the program through lazarus (and most of the time, the buttons are not clickable!).   Have a look at the screen recording here (https://drive.google.com/file/d/1gDNifAbwIG_U254UcVuNbGrwn97PP2NZ). I build lazarus from source using Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i make clean bigide  LCL_PLATFORM=gtk3  The clicks are working better. But I do not see the components on lazarus (https://drive.google.com/file/d/18425XFDpn3yVi1jOggyiiEdy5WbZy0Lp). Lazarus is showing error message when trying to compile/save my code (https://drive.google.com/file/d/1NsKp1TjErBTJMvYRDqoU6z0qMyG_Wde_). ---------------------------------------------------------------------- Alexx2000 · 2025-03-25 06:37 GTK3 is not fully supported yet, see this topic. Use Qt5/Qt6 or GTK2. ---------------------------------------------------------------------- Thaddy · 2025-03-25 07:18 There have been quite a lot of commits for Gtk3 the last few days so you can try Laz trunk/main. Zejlko commented in one of the commits: "Is not Alpha anymore"..  Commit 287fbaaa And after that statement there were quite some more commits. THIS IS ONLY VALID FOR LAZ 4.99 I.E. TRUNK/MAIN ---------------------------------------------------------------------- Amir61 · 2025-03-27 05:28 I built lazarus with "LCL_PLATFORM=gtk2", and the clicks did not work! I built it with "LCL_PLATFORM=gtk3" and still see "Access Violation" message! ---------------------------------------------------------------------- TRon · 2025-03-27 05:37 X11 No More: Fedora 41 Paves the Way for Wayland X11 good, Wayland bad. ---------------------------------------------------------------------- Amir61 · 2025-03-27 05:55 Thank you TRon! So it means I need to go back to FC40? ---------------------------------------------------------------------- Thaddy · 2025-03-27 06:10 Not really. As the link contains info that you can still install X on 41. (The same is the case for e.g. Rasberri Pi's, where there is even a switch for that) Wayland is a bag of cow dung at the moment and not mature. That is not something that the fpc/lazarus team can or should solve. At this moment in time TRon is right. ---------------------------------------------------------------------- TRon · 2025-03-27 06:15 There are different paths that one could take: - persevere with wayland - persevere with X11 The former means update as much as possible, for fedora there is (if not mistaken) v42 which would hopefully remove a lot of the bugs that wayland introduced (it is a gamble, I do not know the outcome. But at least it is the same for every distribution that decided to go wayland). The same goes for your Lazarus installation as the developers try their best to accommodate wayland incompatibilities but that does require to use the latest, e.g. trunk/main. Some distributions offer a X11 compatibility transition period which allows for the user to be able to use old-style x11 sessions (raspios for example has an option to switch between X11 (xwayland) and wayland. As already mentioned by Thaddy). I do not know the details about Fedora but the article that was linked to does not sound very promising in that regards (though Thaddy is right that there seem to be an option it is just that the article seem to suggest that fedora devs want to get rid of it asap). Which brings us to the latter option, trying to stick with X11. I do not know how feasible it is to accomplish that with fedora 41. I would advise to try read into the subject and see how other fedora users handle this (if possible at all) or if they switched back to v40 or otherwise. On the long run wayland seem inevitable so it might be worth the effort to bite the bullit right away to be able to familiarize yourself with it. In which case be prepared to run into bugs, report them and wait for them to be addressed (in case possible). Or better yet try to fix yourself and help the other developers out. Either way it is a very unpleasant situation for serious production. PS: the QT widgetset seem to have far less issues with wayland so Alexx2000 was right about that. ---------------------------------------------------------------------- Amir61 · 2025-03-28 05:57 Thank you. I have installed Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i gnome-session-xsession and logged in with X11. ---------------------------------------------------------------------- Amir61 · 2025-12-08 06:56 I upgraded to Fedora 43 and the headache is back And it looks like Fedora 43 does not support x11! ---------------------------------------------------------------------- cdbc · 2025-12-08 08:51 Hi Hmmm... · Gtk2 cannot do wayland. · Gtk3 in Lazarus, is in a 'getting better' state at the moment. · Gtk4 in Lazarus is non-existent at the moment. Why not try your hands on Qt6, it should have a better chance with wayland, at least there are rumors, they'll abandon X11 in the future... Also I think I saw @FredvS mention, that Mse-Gui and Mse-Ide (ideU too???) can do wayland... Regards Benny ---------------------------------------------------------------------- Amir61 · 2025-12-09 04:03 I installed MSEide. As you can see in the first attachment, the fonts it too small (resolution was not correct) and I was not able to find a way to increase the font size yet! The command lines arguments did not work either. I built Lazarus with QT5 and it worked. I also tried QT6 and it worked fine, too. Thank you for the suggestions! ---------------------------------------------------------------------- JuhaManninen · 2025-12-14 15:01 Quote from: Amir61 on December 09, 2025, 05:03:03 amI installed MSEide. As you can see in the first attachment, the fonts it too small ... I confess that I had the same problem always when testing MSEide (not very often). It was quite unusable for me. There must be a way to improve its visual appearance, otherwise people would not be able to use it. I didn't study the issue further. ---------------------------------------------------------------------- Fred vS · 2025-12-14 15:29 Quote from: Amir61 on December 09, 2025, 05:03:03 amI installed MSEide. As you can see in the first attachment, the fonts it too small (resolution was not correct) and I was not able to find a way to increase the font size yet! The command lines arguments did not work either. Hello. Indeed, MSEide does not offer automatic resizing. If you wish to use this feature, you can try ideU, a fork of MSEide, that offers automatic resizing and many other features. ---------------------------------------------------------------------- Fred vS · 2025-12-14 16:14 Quote from: JuhaManninen on December 14, 2025, 04:01:11 pmQuote from: Amir61 on December 09, 2025, 05:03:03 amI installed MSEide. As you can see in the first attachment, the fonts it too small ... I confess that I had the same problem always when testing MSEide (not very often). It was quite unusable for me. There must be a way to improve its visual appearance, otherwise people would not be able to use it. I didn't study the issue further. Hello Juha. I agree that MSEide is a bit "rough," but we decided to keep Martin's original look and only apply bug fixes, FPC 3.3.1 compatibility, and add the new targets. For more accessible visuals, there's ideU, a fork of MSEide that is fully compatible but perhaps with more attention to detail in its design. ---------------------------------------------------------------------- dbannon · 2025-12-16 10:14 Fred, > Fully XWayland and fpc 3.3.1 compatible. Does that mean, for example, you can position a new window in the location of your own choosing ? That you have a SystemTray icon that, on a KDE system, uses the Right Mouse button to pull down a menu ? A system tray icon on Gnome without all the Plugin Nonsense ? Davo ---------------------------------------------------------------------- Fred vS · 2025-12-16 12:22 Quote from: dbannon on December 16, 2025, 11:14:31 amFred, > Fully XWayland and fpc 3.3.1 compatible. Does that mean, for example, you can position a new window in the location of your own choosing ? That you have a SystemTray icon that, on a KDE system, uses the Right Mouse button to pull down a menu ? A system tray icon on Gnome without all the Plugin Nonsense ? Davo Hello Davo. Unfortunately, I don't have a KDE system installed for testing, so I suggest you test it yourself.. Examples of tests you can use include ideU, StrumPract, WavvieW and Simple Web Player. Fre;D