[Gambas-bugtracker] Bug #2307: To be or not to be correct with QT to use the space bar to operate the click of a button?

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Jul 11 18:25:56 CEST 2021


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

Gianluigi GRADASCHI reported a new bug.

Summary
-------

To be or not to be correct with QT to use the space bar to operate the click of a button?

Type             : Bug
Priority         : Low
Gambas version   : Master
Product          : QT5 component


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

The doubt came to me by replying to a member of the Italian forum who asked me why after having given the focus to the button, by giving Return nothing happened:
"With the GTK libraries the button with the focus is activated with Return while with the QT libraries it is activated with the space bar."
He thanked me because it works and told me that it would never have thought of it, since he is not the only one who is amazed, I wondered if it was a bug.

Is this a Gambas malfunction with the QT libraries, or is it normal operation?


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

[System]
Gambas=3.16.90 4200527 (master)
OperatingSystem=Linux
Kernel=5.8.0-59-generic
Architecture=x86_64
Distribution=Ubuntu 20.04.2 LTS
Desktop=UBUNTU:GNOME
Font=Ubuntu,11
Scale=8
Theme=yaru
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.gtk3
GDMSESSION=ubuntu
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=21006
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=27059ee53f49484bb30647e0464f6b63
JOURNAL_STREAM=8:48503
LANG=it_IT.UTF-8
LC_ALL=it_IT.UTF-8
LOGNAME=<hostname>
MANAGERPID=1705
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/1979,unix/<hostname>:/tmp/.ICE-unix/1979
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=1899
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