[Gambas-bugtracker] Bug #2462: Keep menu open when menu items are toggles
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Fri Jan 28 13:25:14 CET 2022
http://gambaswiki.org/bugtracker/edit?object=BUG.2462&from=L21haW4-
Cristiano GUADAGNINO reported a new bug.
Summary
-------
Keep menu open when menu items are toggles
Type : Request
Priority : Medium
Gambas version : 3.16
Product : GUI components
Description
-----------
When menu items are toggles (with respect to radios), it means that the user can select multiple items in a single operation.
I propose to avoid the auto-closing of the menu if the user clicks on a toggle and if there are multiple toggles in the same menu (or submenu).
To avoid unwanted behavior, it could be defined that the menu behaves this way only if the toggles are in a control group (or in multiple control groups with more than one item each).
System information
------------------
[System]
Gambas=3.16.3
OperatingSystem=Linux
Kernel=5.16.1-1-default
Architecture=x86_64
Distribution=openSUSE Tumbleweed 20220126
Desktop=KDE5
Font=Noto Sans,10
Scale=7
Theme=breeze
Language=it_IT.UTF-8
Memory=11665M
[Libraries]
Cairo=/usr/lib64/libcairo.so.2.11600.0
Curl=/usr/lib64/libcurl.so.4.7.0
DBus=/usr/lib64/libdbus-1.so.3.19.13
GDK2=/usr/lib64/libgdk-x11-2.0.so.0.2400.33
GDK3=/usr/lib64/libgdk-3.so.0.2404.27
GStreamer=/usr/lib64/libgstreamer-1.0.so.0.1805.0
GTK+2=/usr/lib64/libgtk-x11-2.0.so.0.2400.33
GTK+3=/usr/lib64/libgtk-3.so.0.2404.27
OpenGL=/usr/lib64/libGL.so.1.7.0
Poppler=/usr/lib64/libpoppler.so.115.0.0
Poppler=/usr/lib64/libpoppler.so.117.0.0
Poppler=/usr/lib64/libpoppler.so.83.0.0
Poppler=/usr/lib64/libpoppler.so.92.0.0
Poppler=/usr/lib64/libpoppler.so.93.0.0
QT4=/usr/lib64/libQtCore.so.4.8.7
QT5=/usr/lib64/libQt5Core.so.5.15.2
SDL=/usr/lib/libSDL-1.3.so.0.0.0
SDL=/usr/lib64/libSDL-1.2.so.0.11.4
SQLite=/usr/lib64/libsqlite3.so.0.8.6
[Environment]
AUDIODRIVER=pulseaudio
BASH_FUNC_mc%%=() { . /usr/share/mc/mc-wrapper.sh
}
COLORFGBG=15;0
COLORTERM=truecolor
CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu
CPU=x86_64
CSHEDIT=emacs
CVS_RSH=ssh
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.opensuse.org/
DESKTOP_SESSION=/usr/share/xsessions/plasma5
DISPLAY=:0
EDITOR=/usr/bin/joe
FROM_HEADER=
FTP_PROXY=http://127.0.0.1:3128
GB_GUI=gb.qt5
GPG_TTY=/dev/pts/1
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0:<home>/.config/gtkrc-2.0
GTK_IM_MODULE=ibus
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:<home>/.gtkrc:<home>/.config/gtkrc
G_BROKEN_FILENAMES=1
G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252
HISTSIZE=1000
HOME=<home>
HOST=<hostname>
HOSTNAME=<hostname>
HOSTTYPE=x86_64
HTTPS_PROXY=http://127.0.0.1:3128
HTTP_PROXY=http://127.0.0.1:3128
INPUT_METHOD=ibus
JAVA_BINDIR=/usr/lib/jvm/zulu-11/bin
JAVA_HOME=/usr/lib/jvm/zulu-11
JAVA_ROOT=/usr/lib/jvm/zulu-11
JDK_HOME=/usr/lib/jvm/zulu-11
JRE_HOME=/usr/lib64/jvm/java-11-openjdk-11
KDE_APPLICATIONS_AS_SCOPE=1
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
KONSOLE_DBUS_SERVICE=:1.25
KONSOLE_DBUS_SESSION=/Sessions/1
KONSOLE_VERSION=211201
LANG=it_IT.UTF-8
LANGUAGE=it_IT.UTF-8
LC_ALL=it_IT.UTF-8
LESS= -R
LESSCLOSE=lessclose.sh %s %s
LESSKEY=/usr/etc/lesskey.bin
LESSOPEN=| /usr/bin/src-hilite-lesspipe.sh %s
LESS_ADVANCED_PREPROCESSOR=no
LOGNAME=<user>
LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.dl=01;35:*.fli=01;35:*.gif=01;35:*.gl=01;35:*.jpg=01;35:*.jpeg=01;35:*.mkv=01;35:*.mng=01;35:*.mov=01;35:*.mp4=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.svg=01;35:*.tga=01;35:*.tif=01;35:*.webm=01;35:*.webp=01;35:*.wmv=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.aiff=00;32:*.ape=00;32:*.au=00;32:*.flac=00;32:*.m4a=00;32:*.mid=00;32:*.mp3=00;32:*.mpc=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.wma=00;32:*.wv=00;32:
LS_OPTIONS=-N --color=tty -T 0
MACHTYPE=x86_64-suse-linux
MAIL=/var/spool/mail/<user>
MANPATH=/usr/local/man:/usr/share/man
MANPATHISSET=yes
MINICOM=-c on
MORE=-sl
NO_PROXY=localhost, 127.0.0.1
OSTYPE=linux
PAGER=less
PATH=<home>/bin:/usr/local/bin:/usr/bin:/bin:/snap/bin:/usr/sbin:/usr/sbin
PROFILEHOME=
PROFILEREAD=true
PWD=<home>
PYTHONSTARTUP=/etc/pythonstart
QEMU_AUDIO_DRV=pa
QT4_IM_MODULE=xim
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_IM_MODULE=ibus
QT_IM_SWITCHER=imsw-multi
QT_LOGGING_RULES=*.debug=false
SDK_HOME=/usr/lib/jvm/zulu-11
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/4483,unix/<hostname>:/tmp/.ICE-unix/4483
SHELL=/bin/bash
SHELL_SESSION_ID=2ddb3b23c6ff4cafaad236c8fead132d
SHLVL=0
SOCKS5_SERVER=
SOCKS_PROXY=
SSH_AGENT_PID=4422
SSH_ASKPASS=/usr/libexec/ssh/ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-XXXXXXSofhIe/agent.4293
SYSTEMD_EXEC_PID=4259
TERM=xterm-256color
TZ=:/etc/localtime
USER=<user>
VDPAU_DRIVER=va_gl
WINDOWID=44040199
WINDOWMANAGER=/usr/bin/startplasma-x11
XAUTHLOCALHOSTNAME=<hostname>
XAUTHORITY=/run/user/1000/xauth_roJdFe
XCURSOR_SIZE=32
XCURSOR_THEME=oreo_pink_cursors
XDG_CONFIG_DIRS=<home>/.config/kdedefaults:/etc/xdg:/usr/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/share:/var/lib/snapd/desktop
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
XMODIFIERS=@im=ibus
XNLSPATH=/usr/share/X11/nls
XSESSION_IS_UP=yes
_=/usr/bin/plasmashell
force_s3tc_enable=true
ftp_proxy=http://127.0.0.1:3128
gopher_proxy=
http_proxy=http://127.0.0.1:3128
https_proxy=http://127.0.0.1:3128
no_proxy=localhost, 127.0.0.1
socks_proxy=
More information about the Bugtracker
mailing list