Re: [Lazarus] Lazarus and Wayland display manager

2023-12-31 Thread Juha Manninen via lazarus
On Sun, Dec 31, 2023 at 3:36 PM John Landmesser via lazarus <
lazarus@lists.lazarus-ide.org> wrote:

> Is that still true ... ?
> Wayland in general has strange issues?!
>

As LCL binds to widgetsets like QT5 and GTK3, it should depend on those
widgetsets only.
Lazarus IDE also uses LCL and its underlying widgetsets.
I guess other QT5 and GTK3 apps work, thus the problem is in LCL binding
code.
They should be studied and fixed case by case.

I don't think GTK2 should be used with Wayland. GTK2 was made before
Wayland existed.
Do distros that use Wayland by default still include GTK2 applications?

BTW, the mail you copied is from me but I forgot the context.
libXtst library dependency was removed from somewhere.

Juha
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus and Wayland display manager

2023-12-31 Thread John Landmesser via lazarus

Just trying lazarus on new distribution nobara ( Fedora clone ) with
wayland, but it seems that the IDE sometimes get in trouble with this
display manager wayland. Changed back to x11 that is much better.


Lazarus 3.99 (rev main_3_99-1123-gd2954c9818) FPC 3.2.2 x86_64-linux-gtk2


In Lazarus mailing list i found:



On Mon, Feb 22, 2021 at 10:52 AM Juha Manninen 
wrote:

> The libXtst library dependency pulled in for Linux (and UNIX) was a
> 100% increase of system dependencies for a Lazarus release, and for
> absolutely no benefit.
> Now Lazarus BigIde depends on just libgtk2.0-dev.
>

Ok, that was not accurate. Many other system libraries are pulled in
by libgtk2.0-dev.
However in a distro package system level it is the only requirement.
Adding dependency for X brings another problem: Lazarus would not work
with
Wayland display server.
Now it works if the widgetset supports Wayland. Major widgetsets like GTK3
and QT5 do support it. Not sure about GTK2.

Juha



Is that still true ... ?

Wayland in general has strange issues?!

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus