[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2886: wayland and Mouse.ScreenX & Y, Top-level?


http://gambaswiki.org/bugtracker/edit?object=BUG.2886&from=L21haW4-

Bruce STEERS reported a new bug.

Summary
-------

wayland and Mouse.ScreenX & Y, Top-level?

Type             : Bug
Priority         : Medium
Gambas version   : Master
Product          : GUI components


Description
-----------

It's odd but Using Mouse.ScreenX and Mouse.ScreenY give X and Y positions relevant to the Form and not the top level desktop screen.

Something you once said makes me suspect some error may have possibly been made in what is meant by "top level window" with wayland?

you said something about not being able to move a "top level" window with wayland protocols but i would expect that is referring to the desktop window not the application.

I do not understand any of it but something about Mouse.ScreenX and Y giving the Mouse.X and Y positions makes me wonder if the "top level" window is the screen and all added windows like applications are not top level and the gambas wayland components need a tweak to see the desktop/screen.

I hope that explains my query correctly.

Could you possibly re-check and see if there is a fix for Mouse.ScreenX & Y that comes with a slight adjustment that fixes many an issue?

Respects


System information
------------------

N/A  , any wayland system it seems.


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----