Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2026-04

Gtk3 widgetset - call for testing

9 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

zeljko

Hello,

The GTK3 widgetset has had substantial work over the last months and

can now run real LCL applications on both X11 and Wayland. Before any move to make it the default GTK widgetset on Linux, more testing on

real-world projects would help a lot.

Please build Lazarus trunk with LCLWidgetType=gtk3, run your

applications - ideally on both X11 and Wayland, and at HiDPI if available - and file any regressions on GitLab:

https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues

Known TODO before GTK3 can be considered the
default Linux widgetset:

- TTrayIcon (StatusNotifierItem + GtkStatusIcon fallback), maybe dbus implementation.
- Full MapMode / Set/GetWindow/ViewportExt/Org coverage, maybe some more methods in gtk3winapi (LCLIntf).

Many thanks to everyone who has reported issues so far.

Regards,

?eljan Rikalo (zeljko)

Reply by email

John Landmesser
to zeljko

I have a little app that counts down given time? . If? it is startet it shows? an hourglass in the panel with Quickinfo of remaining time . That works with gtk2? and special startparameter but that trick does not work anymore with gtk3 .

See? attachment. Hope that works and you can compile it ?

zeljko wrote 40 lines
Hello, The GTK3 widgetset has had substantial work over the last months and can now run real LCL applications on both X11 and Wayland.? Before any move to make it the default GTK widgetset on Linux, more testing on real-world projects would help a lot. Please build Lazarus trunk with LCLWidgetType=gtk3, run your applications - ideally on both X11 and Wayland, and at HiDPI if available - and file any regressions on GitLab: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues ??????????????????? Known TODO before GTK3 can be considered the default Linux widgetset: - TTrayIcon (StatusNotifierItem + GtkStatusIcon fallback), maybe dbus ? implementation. - Full MapMode / Set/GetWindow/ViewportExt/Org coverage, maybe some more ? methods in gtk3winapi (LCLIntf). Many thanks to everyone who has reported issues so far. Regards, ?eljan Rikalo (zeljko)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sanduhr.7z
Type: application/x-7z-compressed
Size: 23012 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260428/d17c1369/attachment-0001.7z>

Reply by email

zeljko
to John Landmesser
John Landmesser wrote 6 lines
I have a little app that counts down given time? . If? it is startet it shows? an hourglass in the panel with Quickinfo of remaining time . That works with gtk2? and special startparameter but that trick does not work anymore with gtk3 . See? attachment. Hope that works and you can compile it ?

Yes, I can compile it and it works, but here it works same as gtk2 - no differences (tested run from ide only). You want to run it without appindicator ?

zeljko

Show quoted text 43 lines
Am 28.04.26 um 00:01 schrieb zeljko via lazarus: > Hello, > > > The GTK3 widgetset has had substantial work over the last months and > > can now run real LCL applications on both X11 and Wayland.? Before any > move to make it the default GTK widgetset on Linux, more testing on > > real-world projects would help a lot. > > > > > Please build Lazarus trunk with LCLWidgetType=gtk3, run your > > applications - ideally on both X11 and Wayland, and at HiDPI if > available - and file any regressions on GitLab: > > > > > https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues > > > > ??????????????????? Known TODO before GTK3 can be considered the > default Linux widgetset: > - TTrayIcon (StatusNotifierItem + GtkStatusIcon fallback), maybe dbus > ? implementation. > - Full MapMode / Set/GetWindow/ViewportExt/Org coverage, maybe some more > ? methods in gtk3winapi (LCLIntf). > > > > Many thanks to everyone who has reported issues so far. > > > Regards, > > ?eljan Rikalo (zeljko)
?eljan Rikalo Voditelj razvoja Holobit d.o.o. OIB: 18588434833 Sjedi?te: Vukovarska 17, 20000 Dubrovnik Poslovnica Zagreb: Radni?ka cesta 80 (Zagreb Tower), 10000 Zagreb

Reply by email

John Landmesser
to zeljko

If i recall it correct you have to start it out of the IDE, terminal for example.

If you compiled the app with widgetset gtk2 there will be a dialog with the startparameter to be used in terminal.

Thanks for this quick answer and your work on gtk3 !

John

zeljko wrote 61 lines
On 4/28/26 21:49, John Landmesser via lazarus wrote: > I have a little app that counts down given time? . If? it is startet > it shows? an hourglass in the panel with Quickinfo of remaining time > . That works with gtk2? and special startparameter but that trick > does not work anymore with gtk3 . > > See? attachment. Hope that works and you can compile it ? Yes, I can compile it and it works, but here it works same as gtk2 - no differences (tested run from ide only). You want to run it without appindicator ? zeljko > > Am 28.04.26 um 00:01 schrieb zeljko via lazarus: >> Hello, >> >> >> The GTK3 widgetset has had substantial work over the last months and >> >> can now run real LCL applications on both X11 and Wayland. Before any >> move to make it the default GTK widgetset on Linux, more testing on >> >> real-world projects would help a lot. >> >> >> >> >> Please build Lazarus trunk with LCLWidgetType=gtk3, run your >> >> applications - ideally on both X11 and Wayland, and at HiDPI if >> available - and file any regressions on GitLab: >> >> >> >> >> https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues >> >> >> >> ??????????????????? Known TODO before GTK3 can be considered the >> default Linux widgetset: >> - TTrayIcon (StatusNotifierItem + GtkStatusIcon fallback), maybe dbus >> ? implementation. >> - Full MapMode / Set/GetWindow/ViewportExt/Org coverage, maybe some >> more >> ? methods in gtk3winapi (LCLIntf). >> >> >> >> Many thanks to everyone who has reported issues so far. >> >> >> Regards, >> >> ?eljan Rikalo (zeljko) >

Reply by email

John Landmesser
to zeljko: Yes, I can compile it and it works, but here it works same as gtk2 - no differences…

The difference is showing a quickinfo with remaining time if you hover over the app icon in panel ( little watch )

zeljko wrote 61 lines
On 4/28/26 21:49, John Landmesser via lazarus wrote: > I have a little app that counts down given time? . If? it is startet > it shows? an hourglass in the panel with Quickinfo of remaining time > . That works with gtk2? and special startparameter but that trick > does not work anymore with gtk3 . > > See? attachment. Hope that works and you can compile it ? Yes, I can compile it and it works, but here it works same as gtk2 - no differences (tested run from ide only). You want to run it without appindicator ? zeljko > > Am 28.04.26 um 00:01 schrieb zeljko via lazarus: >> Hello, >> >> >> The GTK3 widgetset has had substantial work over the last months and >> >> can now run real LCL applications on both X11 and Wayland. Before any >> move to make it the default GTK widgetset on Linux, more testing on >> >> real-world projects would help a lot. >> >> >> >> >> Please build Lazarus trunk with LCLWidgetType=gtk3, run your >> >> applications - ideally on both X11 and Wayland, and at HiDPI if >> available - and file any regressions on GitLab: >> >> >> >> >> https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues >> >> >> >> ??????????????????? Known TODO before GTK3 can be considered the >> default Linux widgetset: >> - TTrayIcon (StatusNotifierItem + GtkStatusIcon fallback), maybe dbus >> ? implementation. >> - Full MapMode / Set/GetWindow/ViewportExt/Org coverage, maybe some >> more >> ? methods in gtk3winapi (LCLIntf). >> >> >> >> Many thanks to everyone who has reported issues so far. >> >> >> Regards, >> >> ?eljan Rikalo (zeljko) >

Reply by email

John Landmesser
to zeljko: The GTK3 widgetset has had substantial work over the last months and can now run real LCL…

Just tried to compile IDE with gtk3 on Windows-10-home and i got this:

Kompiliere Package LCL 4.99: Exit code 1, Fehler: 2, Warnungen: 18, Hinweise: 50

Lazarus 4.99 (rev main_4_99-4272-gebaaecccf5) FPC 3.2.2 i386-win32-win32/win64

zeljko wrote 40 lines
Hello, The GTK3 widgetset has had substantial work over the last months and can now run real LCL applications on both X11 and Wayland.? Before any move to make it the default GTK widgetset on Linux, more testing on real-world projects would help a lot. Please build Lazarus trunk with LCLWidgetType=gtk3, run your applications - ideally on both X11 and Wayland, and at HiDPI if available - and file any regressions on GitLab: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues ??????????????????? Known TODO before GTK3 can be considered the default Linux widgetset: - TTrayIcon (StatusNotifierItem + GtkStatusIcon fallback), maybe dbus ? implementation. - Full MapMode / Set/GetWindow/ViewportExt/Org coverage, maybe some more ? methods in gtk3winapi (LCLIntf). Many thanks to everyone who has reported issues so far. Regards, ?eljan Rikalo (zeljko)

Reply by email

John Landmesser
to zeljko: The GTK3 widgetset has had substantial work over the last months and can now run real LCL…

Sorry, my bad, forget this message about Lazarus IDE gtk3 on windows 10 home !

zeljko wrote 40 lines
Hello, The GTK3 widgetset has had substantial work over the last months and can now run real LCL applications on both X11 and Wayland.? Before any move to make it the default GTK widgetset on Linux, more testing on real-world projects would help a lot. Please build Lazarus trunk with LCLWidgetType=gtk3, run your applications - ideally on both X11 and Wayland, and at HiDPI if available - and file any regressions on GitLab: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues ??????????????????? Known TODO before GTK3 can be considered the default Linux widgetset: - TTrayIcon (StatusNotifierItem + GtkStatusIcon fallback), maybe dbus ? implementation. - Full MapMode / Set/GetWindow/ViewportExt/Org coverage, maybe some more ? methods in gtk3winapi (LCLIntf). Many thanks to everyone who has reported issues so far. Regards, ?eljan Rikalo (zeljko)

Reply by email

zeljko
to John Landmesser
John Landmesser wrote
Sorry, my bad, forget this message about Lazarus IDE gtk3 on windows 10 home !

gtk3 is not supposed to work on windows yet. Maybe it will be one day, but primary target is linux x11 and wayland.

z.

Reply by email

Anthony Walter
to zeljko

I am glad I saw this message the other day. I have long been waiting for gtk3 support and am happy to say I recompiled the Lazarus IDE from git sources with the gtk3 widgetset and everything in the IDE seems to be working as expected.

I know gtk3 was officially released almost 15 years ago, but I'm glad we have it working now. I do have some Free Pascal projects that I hadn't put too much effort into officially publishing, including webkitgtk, virtual terminal emulator, and a few other things that now require gtk3 or greater to work.

I will now put some effort into testing gtk3, and publishing the projects I mentioned. These projects will be gtk3 specific, and include design time packages and components.

https://www.getlazarus.org/learn/tutorials/examples/webbrowser/

Thank you again!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260506/f3d95e8d/attachment-0001.htm>

Reply by email