[Gambas-user] wayland and screen

Gianluigi gradobag at gradobag.it
Tue Jan 31 16:04:07 CET 2023


Il 31/01/23 15:13, Benoit Minisini ha scritto:
> Le 31/01/2023 à 15:11, Benoit Minisini a écrit :
>> Le 31/01/2023 à 14:50, Gianluigi a écrit :
>>> Hi Benoit,
>>>
>>> what do you say about Wayland, what is your opinion?
>>>
>>> Regards
>>>
>>> Gianluigi
>>>
>>
>> It's like The Good, The Bad and The Ugly movie.
>>
>> The ugly being that we can't move or activate windows anymore, which 
>> is a very useful window as soon as your application has more than one 
>> window.
>>
>> Apparently Wayland developers are aware of that uglyness even if they 
>> won't admit it, otherwise XWayland (the X11 compatibility layer) 
>> would not exist.
>>
>> In other words: if you really need the X11 features, just target X11. 
>> If your program run on Wayland, it will be run through XWayland, and 
>> everything should work as expected.
>>
>> At the moment, there is a problem with Gambas that can't explicitly 
>> target X11 if it detects that Wayland is running. This needs to be 
>> fixed, as I don't think now that Wayland will fix its uglyness.
>>
>> You can prevent a Gambas program to detect Wayland by clearing from 
>> its environemnt the WAYLAND_DISPLAY variable, and just let the 
>> DISPLAY variable.
>>
>> To be honest, there are some good too in Wayland. They fixed a lot of 
>> things that were impossible with the X11 design.
>>
>> Regards,
>>
>
> As for uglyness again: GTK+3 / GTK+4 beats Wayland in large margins. 
> With GTK+ we are almost in an horror movie.
>
> Regards,
>
Hi Benoit,

thank you very much for the explanations, actually here, a Linux expert 
I follow speaks very well of Wayland but he is one of the few, most tend 
to hate it maybe because the new is not always understood.

I wish you a good day

Gianluigi




More information about the User mailing list