[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wayland and Gambas
[Thread Prev] | [Thread Next]
- Subject: Re: Wayland and Gambas
- From: Bruce Steers <bsteers4@xxxxxxxxx>
- Date: Sun, 7 Apr 2024 21:10:38 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On Sun, 7 Apr 2024 at 17:31, Brian G <brian@xxxxxxxxxxxxxxxx> wrote: > > On 4/7/24 06:23, Philippe Valarcher wrote: > > Le dimanche 07 avril 2024 à 13:06 +0100, Bruce Steers a écrit : > > > > On Sun, 7 Apr 2024 at 13:01, Bruce Steers <bsteers4@xxxxxxxxx> wrote: > > > > On Tue, 2 Apr 2024 at 16:01, Philippe Valarcher < > philippe.valarcher@xxxxxxx> wrote: > > Wayland and problems : > > Soon Xorg will be liable for time (in not so long). Already, many > distributions offer Wayland by default. > Given the number of display bugs under Wayland with Gambas, it is time to > start identifying all these and glimpse some solutions. > Not so long ago Gambas did not work under Wayland, which will become the > norm in a short time. > > Here is what I have already identified with Patrick and is to be continued > : > > - Skiptaskbar is not operational under Wayland. > - Applications are displayed anywhere, no need to center them, your forms, > they will go: "On the screen". > - It's even worse with several screens. > > I find if you want wayland compatibility you have to do the following... > > Remove any code using Mouse.ScreenX/Mouse.ScreenY > As gambas reports these values relevant to the Form not the Screen. (like > the form is as top level as it goes) so your code won't work as expected. > Forget any kind of Main Form positioning. > Getting or setting Form.X, Form.Y or using Form.Move() or using > Form_Move() event, all do not work in wayland. > again, like the form is as top level as it can see so it's X and Y are > relevant to itself not the current Screen, > i found Form.X and Form.Y the same (about 20,20) wherever the form was on > the screen. > > Sorry i have not tested for the other problems you mentioned about > SkipTaskbar, TrayIcon, etc > > Something just seems kinda horribly wrong to me. but this how it is. > > > PS. I have started to add some warnings in the wiki about these Screen > related issues with wayland > > Respects > BruceS > > > Thank you for your kind answer. The problem is more from wayland than from > Gambas but the futur is on. > > -- > > Philippe Valarcher <philippe.valarcher@xxxxxxx> > > Can someone tell me clearly why distros are moving to such a broken interface. > So much is not supported or broken, and looks like much may never be added. > > I wonder if this is Microsoft's dream to kill Linux... contribute to extinction thru interface.. lol I know just kidding > -- > ~~~~ Brian > > With the greatest respect to Ben i have to say,, I'm not so convinced it is just a wayland is broken thing I think gambas is missing a trick. I mean, I can load gnome files or gnome text editor and they open at the last opened position not just 0,0 . they seem to know and remembrer their screen position jut fine. So I think it's a gambas problem/misconception as it seems like only my gambas apps that have zero control over window positioning on the screen. Respects BruceS
Re: Wayland and Gambas | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Wayland and Gambas | Philippe Valarcher <philippe.valarcher@xxxxxxx> |
Re: Wayland and Gambas | Bruce Steers <bsteers4@xxxxxxxxx> |
Re: Wayland and Gambas | Bruce Steers <bsteers4@xxxxxxxxx> |
Re: Wayland and Gambas | Philippe Valarcher <philippe.valarcher@xxxxxxx> |
Re: Wayland and Gambas | Brian G <brian@xxxxxxxxxxxxxxxx> |