[Gambas-bugtracker] Bug #1673: Timer cannot be created when gb.gtk or gb.qt4 or gb.qt5 is added
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Thu Oct 31 19:01:29 CET 2019
http://gambaswiki.org/bugtracker/edit?object=BUG.1673&from=L21haW4-
Safiur RAHMAN reported a new bug.
Summary
-------
Timer cannot be created when gb.gtk or gb.qt4 or gb.qt5 is added
Type : Request
Priority : High
Gambas version : 3.14
Product : Development Environment
Description
-----------
The following script doesnot work. However when I remove gb.qt5 the script works well.
#!/usr/bin/env gbs3
Use "gb.qt5"
Public hConsoleTimer As Timer
Public Sub Main()
hConsoleTimer = New Timer As "MyTimer"
hConsoleTimer.Delay = 1000
hConsoleTimer.Enabled = True
End
Public Sub MyTimer_Timer()
Print CInt(Timer);; "Hello Gambas"
End
System information
------------------
[System]
Gambas=3.14
OperatingSystem=Linux
Kernel=5.0.0-32-generic
Architecture=x86_64
Distribution=Ubuntu 18.04.3 LTS
Desktop=UBUNTU:GNOME
Theme=Fusion
Language=en_US.UTF-8
Memory=3824M
[Libraries]
Cairo=libcairo.so.2.11510.0
Curl=libcurl.so.4.5.0
DBus=libdbus-1.so.3.19.4
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.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
DESKTOP_SESSION=<user>
DISPLAY=:1
GB_GUI=gb.qt5
GDMSESSION=<user>
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=23832
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SHELL_SESSION_MODE=<user>
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge
HOME=<home>
IM_CONFIG_PHASE=2
LANG=en_US.UTF-8
LC_ADDRESS=bho_NP
LC_IDENTIFICATION=bho_NP
LC_MEASUREMENT=bho_NP
LC_MONETARY=bho_NP
LC_NAME=bho_NP
LC_NUMERIC=bho_NP
LC_PAPER=bho_NP
LC_TELEPHONE=bho_NP
LC_TIME=bho_NP
LOGNAME=<user>
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=<home>
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2062,unix/<hostname>:/tmp/.ICE-unix/2062
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=2157
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WINDOWPATH=2
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-<user>:/etc/xdg
XDG_CURRENT_DESKTOP=<user>:GNOME
XDG_DATA_DIRS=/usr/share/<user>:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=<user>
XDG_SESSION_ID=3
XDG_SESSION_TYPE=x11
XDG_VTNR=2
XMODIFIERS=@im=ibus
More information about the Bugtracker
mailing list