[Gambas-bugtracker] Bug #2547: Application.Main = Me causes window stacking problem

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri May 13 10:00:51 CEST 2022


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

Christof THALHOFER reported a new bug.

Summary
-------

Application.Main = Me causes window stacking problem

Type             : Bug
Priority         : Medium
Gambas version   : Master
Product          : Unknown


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

If a main form of an application contains the code "Application.Main = Me" in '_New()' the windows stacking is disturbed. When from this main window a second window is opened from which a third one is opened the main window moves upward in the stack just behind the third and over the second.

I attach a project that shows what I mean.


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

[System]
Gambas=3.17.2
OperatingSystem=Linux
Kernel=4.15.0-176-generic
Architecture=x86_64
Distribution=Ubuntu 18.04.6 LTS
Desktop=XFCE
Font=DejaVu Sans,10
Scale=7
Theme=proxy
Language=de_DE.UTF-8
Memory=15485M

[Libraries]
Cairo=libcairo.so.2.11510.0
Curl=libcurl.so.4.5.0
DBus=libdbus-1.so.3.19.4
GDK2=libgdk-x11-2.0.so.0.2400.32
GDK3=libgdk-3.so.0.2200.30
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.1405.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2200.30
OpenGL=libGL.so.1.0.0
Poppler=libpoppler.so.44.0.0
Poppler=libpoppler.so.73.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.9.5
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_IM_MODULE=xim
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEFAULTS_PATH=/usr/share/gconf/xfce.default.path
DESKTOP_SESSION=xfce
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=xfce
GLADE_CATALOG_PATH=:
GLADE_MODULE_PATH=:
GLADE_PIXMAP_PATH=:
GTK_IM_MODULE=xim
GTK_MODULES=canberra-gtk-module:canberra-gtk-module
HOME=<home>
IM_CONFIG_PHASE=2
LANG=de_DE.UTF-8
LC_ALL=de_DE.UTF-8
LIBVIRT_DEFAULT_URI=qemu:///system
LOGNAME=<user>
MANDATORY_PATH=/usr/share/gconf/xfce.mandatory.path
PATH=<home>/.local/bin:<home>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
PWD=<home>
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=appmenu-qt5
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/6795,unix/<hostname>:/tmp/.ICE-unix/6795
SHELL=/usr/bin/zsh
SHLVL=0
SSH_AGENT_PID=6785
SSH_AUTH_SOCK=/tmp/ssh-sdjdCcVTnRqK/agent.6669
S_COLORS=auto
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WINDOWPATH=1
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-xfce:/etc/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=/usr/share/xfce4:/usr/share/xfce:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/var/lib/snapd/desktop:/usr/share
XDG_MENU_PREFIX=xfce-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_COOKIE=87078baa605ff4b5a30b83020000001b-1652421299.39982-946150227
XDG_SESSION_DESKTOP=xfce
XDG_SESSION_ID=1
XDG_SESSION_TYPE=x11
XDG_VTNR=1
XMODIFIERS=@im=none




More information about the Bugtracker mailing list