[Gambas-bugtracker] Bug #1850: DataComboView malfunction with gb.gtk
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Fri Jul 31 16:10:51 CEST 2020
http://gambaswiki.org/bugtracker/edit?object=BUG.1850&from=L21haW4-
Gianluigi GRADASCHI reported a new bug.
Summary
-------
DataComboView malfunction with gb.gtk
Type : Bug
Priority : Medium
Gambas version : Master
Product : Database component
Description
-----------
DataComboView (see attached test) with gb.gui (GTK) in Ubuntu Gnome does not work and this warning appears in the console: gb.gtk: warning: grab failed: 3.
But if I change to gb.gui.qt it works fine without warnings.
A Spanish user has noticed that after he has tried this component class with the *gtk* libraries (see ComboRows attached) which however on Ubuntu seems to work despite the warning.
I attach the class (qt) hoping it will help.
Note: yesterday, before the Gambas update, my console warning was:
(ComboRows:13799): Gtk-CRITICAL **: 22:59:32.351: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
System information
------------------
[System]
Gambas=3.15.90 a3ee481 (master)
OperatingSystem=Linux
Kernel=5.4.0-42-generic
Architecture=x86_64
Distribution=Ubuntu 20.04.1 LTS
Desktop=UBUNTU:GNOME
Theme=fusion
Language=it_IT.UTF-8
Memory=15941M
[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.6.0
DBus=libdbus-1.so.3.19.11
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]
CLUTTER_IM_MODULE=ibus
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=8856
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_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge
HOME=/home/<hostname>
IM_CONFIG_PHASE=1
INVOCATION_ID=6c5af8507f2c40eebf43b0c3a2a86495
JOURNAL_STREAM=9:31017
LANG=it_IT.UTF-8
LANGUAGE=it_IT.UTF-8
LC_ADDRESS=it_IT.UTF-8
LC_IDENTIFICATION=it_IT.UTF-8
LC_MEASUREMENT=it_IT.UTF-8
LC_MONETARY=it_IT.UTF-8
LC_NAME=it_IT.UTF-8
LC_NUMERIC=it_IT.UTF-8
LC_PAPER=it_IT.UTF-8
LC_TELEPHONE=it_IT.UTF-8
LC_TIME=it_IT.UTF-8
LOGNAME=<hostname>
MANAGERPID=1090
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/home/<hostname>
QT4_IM_MODULE=ibus
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1459,unix/<hostname>:/tmp/.ICE-unix/1459
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=1364
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
More information about the Bugtracker
mailing list