[Gambas-user] Bug in tray icon menu?
T Lee Davidson
t.lee.davidson at gmail.com
Sat Oct 16 20:02:48 CEST 2021
On 10/12/21 8:13 AM, Cristiano Guadagnino wrote:
> Hi all,
> I think I have found a bug in the tray icon code.
>
> If you add a popup menu to a tray icon control programmatically (i.e. by code) and you have a submenu with items whose Radio
> property is true, the click() event is not raised and radios are not mutually exclusive (i.e. you can have more than one item
> with the radio button checked).
>
> I am adding a sample project.
> In the project you see a couple menus, added to the main window, to a menu button and to the tray icon. They all work correctly
> but for the one attached to the tray icon.
>
> And here are my system infos:
> [System]
> Gambas=3.16.3
> OperatingSystem=Linux
> Kernel=5.14.6-2-default
> Architecture=x86_64
> Distribution=openSUSE Tumbleweed 20211008
> Desktop=KDE5
> Font=Noto Sans,10
> Scale=7
> Theme=breeze
> Language=it_IT.UTF-8
> Memory=11666M
>
> [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.26
> 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.26
> OpenGL=/usr/lib64/libGL.so.1.7.0
> Poppler=/usr/lib64/libpoppler.so.112.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
>
[snip]
I confirm the tray icon menu does not behave as expected.
--
Lee
[System]
Gambas=3.16.3
OperatingSystem=Linux
Kernel=5.3.18-lp152.95-default
Architecture=x86_64
Distribution=openSUSE Leap 15.2
Desktop=KDE5
Font=Noto Sans,10
Scale=7
Theme=breeze
Language=en_US.UTF-8
Memory=16000M
[Libraries]
Cairo=/usr/lib64/libcairo.so.2.11600.0
Curl=/usr/lib64/libcurl.so.4.6.0
DBus=/usr/lib64/libdbus-1.so.3.19.4
GDK2=/usr/lib64/libgdk-x11-2.0.so.0.2400.32
GDK3=/usr/lib64/libgdk-3.so.0.2404.16
GStreamer=/usr/lib64/libgstreamer-1.0.so.0.1603.0
GTK+2=/usr/lib64/libgtk-x11-2.0.so.0.2400.32
GTK+3=/usr/lib64/libgtk-3.so.0.2404.16
OpenGL=/usr/lib64/libGL.so.1.7.0
Poppler=/usr/lib64/libpoppler.so.89.0.0
QT4=/usr/lib64/libQtCore.so.4.8.7
QT5=/usr/lib64/libQt5Core.so.5.12.7
SDL=/usr/lib64/libSDL-1.2.so.0.11.4
SQLite=/usr/lib64/libsqlite3.so.0.8.6
More information about the User
mailing list