[Gambas-user] Re window placement

T Lee Davidson t.lee.davidson at gmail.com
Fri Mar 4 20:28:57 CET 2022


On 3/3/22 14:11, Steve G via User wrote:
> 
> Le 02/03/2022 ? 18:56, Steve G via User a ?crit?:
> 
> Sorry it took so long I was fighting covid and 6 feet of snow.
> 
> Details are Fedora 35 using gnome 41 and Gambas 3.16. Gtk two or three
> same problem. Multiple monitor setup. Setting the top and left positions
> of a window does not move the window. So simply put the following code
> does not work.
> 
> In the form open
> 
> Me.top = 5
> Me.left = 5
> 
> That is so simple as I can make the code yet the window will not go
> where it belongs. In version 315 this worked perfectly fine.
> 
> 
> Do you use Wayland? Please post the full system information returned by
> the IDE corresponding menu entry.
> 
> Does it change anything if you use the Move() method instead of setting
> the two properties one by one?
> 
> 
> As requested the information is below I am using X not Wayland.
> [System]
> Gambas=3.16.2
> OperatingSystem=Linux
> Kernel=5.16.7-200.fc35.x86_64
> Architecture=x86_64
> Distribution=redhat Fedora release 35 (Thirty Five)
> Desktop=GNOME
> Font=Cantarell,11
> Scale=8
> Theme=adwaita
> Language=en_US.UTF-8
> Memory=11913M
> 
> [Libraries]
> 
> [Environment]
[snip]

It works as expected here on KDE Plasma with a single monitor using both Qt5 and GTK3 graphical components. Form.Move() also 
works as expected.

BTW, do you have absolutely no libraries installed?


-- 
Lee

[System]
Gambas=3.16.3
OperatingSystem=Linux
Kernel=5.3.18-150300.59.49-default
Architecture=x86_64
Distribution=openSUSE Leap 15.3
Desktop=KDE5
Font=Noto Sans,10
Scale=7
Theme=breeze
Language=en_US.UTF-8
Memory=15999M

[Libraries]
Cairo=/usr/lib64/libcairo.so.2.11600.0
Curl=/usr/lib64/libcurl.so.4.6.0
DBus=/usr/lib64/libdbus-1.so.3.19.4
GDK2=/usr/lib64/libgdk-x11-2.0.so.0.2400.32
GDK3=/usr/lib64/libgdk-3.so.0.2404.16
GStreamer=/usr/lib64/libgstreamer-1.0.so.0.1603.0
GTK+2=/usr/lib64/libgtk-x11-2.0.so.0.2400.32
GTK+3=/usr/lib64/libgtk-3.so.0.2404.16
OpenGL=/usr/lib64/libGL.so.1.7.0
Poppler=/usr/lib64/libpoppler.so.89.0.0
QT5=/usr/lib64/libQt5Core.so.5.12.7
SDL=/usr/lib64/libSDL-1.2.so.0.11.4
SQLite=/usr/lib64/libsqlite3.so.0.8.6



More information about the User mailing list