[Gambas-bugtracker] Bug #2677: WebTextBox autocomplete error

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Mon Jan 2 13:57:21 CET 2023


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

Omar MORENO reported a new bug.

Summary
-------

WebTextBox autocomplete error

Type             : Bug
Priority         : Medium
Gambas version   : 3.17
Product          : Web components


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

Browsers generate an error when an autocomplete element is selected in WebTextBox:

jsGloblal:0.0.1.js:1808 Uncaught TypeError: Cannot read properties of undefined (reading 'toUpperCase')
    at Object.makeShortcut (jsGloblal:0.0.1.js:1808:27)
    at HTMLDocument.onKeyDown (jsGloblal:0.0.1.js:1832:25)
makeShortcut @ jsGloblal:0.0.1.js:1808
onKeyDown @ jsGloblal:0.0.1.js:1832


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

[System]
Gambas=3.17.3
OperatingSystem=Linux
Kernel=5.15.0-57-generic
Architecture=x86_64
Distribution=Ubuntu 22.04.1 LTS
Desktop=UBUNTU
Font=Ubuntu,11
Scale=8
Theme=yaru-prussiangreen
Language=es_PA.UTF-8
Memory=13901M

[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.7.0
DBus=libdbus-1.so.3.19.13
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2404.29
GStreamer=libgstreamer-1.0.so.0.2003.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2404.29
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.118.0.0
QT5=libQt5Core.so.5.15.3
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
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:1
GB_GUI=gb.gtk3
GDMSESSION=ubuntu
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=7876
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>
INVOCATION_ID=7ea639e975cf441fb9b6ef7c9a6c9392
JOURNAL_STREAM=8:37750
LANG=es_PA.UTF-8
LANGUAGE=es_PA.UTF-8
LC_ADDRESS=es_PA.UTF-8
LC_ALL=es_PA.UTF-8
LC_IDENTIFICATION=es_PA.UTF-8
LC_MEASUREMENT=es_PA.UTF-8
LC_MONETARY=es_PA.UTF-8
LC_NAME=es_PA.UTF-8
LC_NUMERIC=es_PA.UTF-8
LC_PAPER=es_PA.UTF-8
LC_TELEPHONE=es_PA.UTF-8
LC_TIME=es_PA.UTF-8
LOGNAME=<user>
MANAGERPID=1790
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
PAPERSIZE=letter
PATH=<home>/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
PWD=<home>
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2103,unix/<hostname>:/tmp/.ICE-unix/2103
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_LAUNCHER=gnome-keyring
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SYSTEMD_EXEC_PID=2123
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
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/share/gnome:/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




More information about the Bugtracker mailing list