[Gambas-bugtracker] Bug #1903: Menu key: PopupMenu outside the control
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Tue Oct 6 17:38:24 CEST 2020
http://gambaswiki.org/bugtracker/edit?object=BUG.1903&from=L21haW4-
Gianluigi GRADASCHI reported a new bug.
Summary
-------
Menu key: PopupMenu outside the control
Type : Bug
Priority : Medium
Gambas version : Master
Product : Unknown
Description
-----------
By acting on the Menu key on the keyboard, all controls that can receive focus, including Form, show the popup menu created with the PopupMenu property at the mouse pointer even if the pointer is outside the control.
Also in any case with gtk you get this warning in the console:
(VariousTests:148165): Gdk-CRITICAL **: 13:42:54.123: gdk_window_get_device_position_double: assertion 'GDK_IS_WINDOW (window)' failed
See the two attached videos
System information
------------------
[System]
Gambas=3.15.90 fa65f45 (master)
OperatingSystem=Linux
Kernel=5.4.0-48-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
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=151144
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=96eebb6016ba4e2ba01f514c1dd1e689
JOURNAL_STREAM=9:33023
LANG=it_IT.UTF-8
LANGUAGE=it_IT.UTF-8
LC_ADDRESS=it_IT.UTF-8
LC_ALL=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=1109
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/1406,unix/<hostname>:/tmp/.ICE-unix/1406
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=1370
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