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

[Gambas-bugtracker] Bug #3185: unable to close windows


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

steve G reported a new bug.

Summary
-------

unable to close windows

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


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

opening a display only window from another window in gambas. The window works and displays however if I close the host window, the spawned window does not close. below is the code used...The auxdisplay is the window that is spawned and should close but does not. No processes are done in the auxdisplay window at all it is just showing information. The window used to close this way until one of the more recent updates.auxdisplay is created in the ide and assigned such as  dim AuxDisplay as new fAuxDisplay   where fauxdisplay is the form or window displayed. two controls are on it. a picture box and a label. they are filled from the calling form not the auxdisplay form. I can use auxdisplay.hide and the form hides but it needs to be closed not just hidden.

Public Sub Form_Close()
  Dim CW As Integer
  
  SaveAuxDisplay()
  AuxDisplay.Close
  Settings["SlsTop"] = Me.Top
  Settings["slsLeft"] = Me.Left
  Settings.Save
  PHPOS.SaveWindowLocation(Me)
  
End


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

[System]
Gambas=3.21.6
OperatingSystem=Linux
Distribution=Fedora Linux 42 (Workstation Edition)
Kernel=6.19.14-108.fc42.x86_64
Architecture=x86_64
Cores=8
Memory=11901M
Language=en_US.UTF-8
Platform=x11
Desktop=GNOME
DesktopResolution=96
DesktopScale=8
WidgetTheme=adwaita
Font=Adwaita Sans,11
DarkTheme=False
[Programs]
dpkg=Debian 'dpkg' package management program version 1.23.7 (amd64).
gcc=gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
git=git version 2.54.0
msgmerge=msgmerge (GNU gettext-tools) 0.23.1
pngquant=4.0.0 (January 2023)
rpmbuild=RPM version 4.20.1
trans=Translate Shell 0.9.7.1
[Libraries]
Cairo=libcairo.so.2.11802.2
Curl=libcurl.so.4.8.0
DBus=libdbus-1.so.3.38.3
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2420.32
GStreamer=libgstreamer-1.0.so.0.2611.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2420.32
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.146.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.15.18
QT6=libQt6Core.so.6.10.2
RSvg=librsvg-2.so.2.60.0
SDL=libSDL2-2.0.so.0.3200.64
SQLite3=libsqlite3.so.0.8.6
[Environment]
BASH_ENV=/usr/share/lmod/lmod/init/bash
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_IMA_CERT_PATH=/etc/keys/ima:
DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ 
DESKTOP_SESSION=gnome
DISPLAY=:1
EDITOR=/usr/bin/nano
FPATH=/usr/share/lmod/lmod/init/ksh_funcs
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=20646
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GPG_TTY=not a tty
HISTCONTROL=ignoredups
HISTSIZE=1000
HOME=/home/<hostname>
HOSTNAME=<hostname>
INVOCATION_ID=b73e598ac81f4385ac8b20dc5c0ccd65
JOURNAL_STREAM=9:17229
KDEDIRS=/usr
LANG=en_US.UTF-8
LANGUAGE=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.7.58
LMOD_sys=Linux
LOGNAME=<hostname>
MAIL=/var/spool/mail/<hostname>
MANAGERPID=2201
MANPATH=/usr/share/lmod/lmod/share/man:
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@x11.service/memory.pressure
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
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/<hostname>/.local/bin:/home/<hostname>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
PWD=/home/<hostname>
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2338,unix/unix:/tmp/.ICE-unix/2338
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=2270
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SYSTEMD_EXEC_PID=2395
TZ=:/etc/localtime
USER=<hostname>
USERNAME=<hostname>
WINDOWPATH=2
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_ACTIVATION_TOKEN=gnome-shell/Gambas3/2395-4-<hostname>_TIME12483466
XDG_CURRENT_DESKTOP=GNOME
XDG_DATA_DIRS=/home/<hostname>/.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



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