[Gambas-bugtracker] Bug #2219: GTK Container.Children[0].SetFocus: out of the bounds error

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri May 28 13:48:40 CEST 2021


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

Gianluigi GRADASCHI reported a new bug.

Summary
-------

GTK Container.Children[0].SetFocus: out of the bounds error

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


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

In trying to figure out which is the best way to manage the focus of dynamic controls, using Container.Children[0].SetFocus, I ran into this error.
Run the attached project *without* clicking the Combo button or the Text button and use the Tab key on the keyboard to move the focus.


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

[System]
Gambas=3.16.90 627afc0 (master)
OperatingSystem=Linux
Kernel=5.8.0-53-generic
Architecture=x86_64
Distribution=Ubuntu 20.04.2 LTS
Desktop=UBUNTU:GNOME
Font=Ubuntu,11
Scale=8
Theme=proxy
Language=it_IT.UTF-8
Memory=32087M

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

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GB_GUI=gb.qt5
GDMSESSION=ubuntu
GIO_LAUNCHED_DESKTOP_FILE=/home/<hostname>/.local/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=11246
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SHELL_SESSION_MODE=ubuntu
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_MODULES=gail:atk-bridge
HOME=/home/<hostname>
IM_CONFIG_PHASE=1
INVOCATION_ID=2f3d8bdade7e40158f22de613861a642
JOURNAL_STREAM=8:50544
LANG=it_IT.UTF-8
LC_ALL=it_IT.UTF-8
LOGNAME=<hostname>
MANAGERPID=1656
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/home/<hostname>
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1930,unix/<hostname>:/tmp/.ICE-unix/1930
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=1850
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=<hostname>
USERNAME=<hostname>
WINDOWPATH=2
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=x11
XMODIFIERS=@im=ibus
_=/usr/bin/dbus-update-activation-environment
force_s3tc_enable=true




More information about the Bugtracker mailing list