[Gambas-user] Re window placement

Steve G simonlebon54 at yahoo.com
Thu Mar 3 20:11:22 CET 2022


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]
BASH_ENV=/usr/share/lmod/lmod/init/bash
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ 
DESKTOP_SESSION=gnome
DISPLAY=:1
EDITOR=/usr/bin/nano
GB_GUI=gb.gtk3
GDMSESSION=gnome
GDM_LANG=en_US.UTF-8
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=4423
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
HISTCONTROL=ignoredups
HISTSIZE=1000
HOME=<home>
HOSTNAME=fedora
INVOCATION_ID=30dfff10474349239a989fb3d364097a
JOURNAL_STREAM=8:30510
KDEDIRS=/usr
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
LESSOPEN=||/usr/bin/lesspipe.sh %s
LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
LMOD_DIR=/usr/share/lmod/lmod/libexec
LMOD_PKG=/usr/share/lmod/lmod
LMOD_ROOT=/usr/share/lmod
LMOD_SETTARG_FULL_SUPPORT=no
LMOD_VERSION=8.4.30
LMOD_sys=Linux
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MANAGERPID=1810
MANPATH=/usr/share/lmod/lmod/share/man:
MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core
MODULEPATH_ROOT=/usr/share/modulefiles
MODULESHOME=/usr/share/lmod/lmod
MOZ_GMP_PATH=/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed
PATH=<home>/.local/bin:<home>/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
PWD=<home>
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1946,unix/unix:/tmp/.ICE-unix/1946
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=1890
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SYSTEMD_EXEC_PID=1972
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WINDOWPATH=2
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_CURRENT_DESKTOP=GNOME
XDG_DATA_DIRS=<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=gnome
XDG_SESSION_TYPE=x11
XMODIFIERS=@im=ibus
which_declare=declare -f



⁣Sent from TypeApp ​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220303/84c25baa/attachment.htm>


More information about the User mailing list