[Gambas-user] TrayIcon menu icon: always a delay time (Bruce Steers)

CD claude.dessere at orange.fr
Mon Dec 19 20:25:07 CET 2022

Yes, I use a dark theme, not always very practical.
We should be able to write it entirely...

the Timer.delay is actually set to 1s, but I only change the icon every 10
I have a mistake in the name of the icon but only in the commented code.
I have another program that has the same behavior, that's why I wrote this test
to reproduce the bug.
Run it without modifications and observe well, you will see what I write in the
as Benoît says it's a mess
besides I loaded glaunch it doesn't work here, no icon in the system dashboard,
however, I found traces of the gbr3 process of glaunch in the System Monitor! I
will redo in-depth tests tomorrow but what a waste of time


Le lundi 19 décembre 2022 à 14:12 +0100, user-request at lists.gambas-basic.org a
écrit :
> Send User mailing list submissions to
> 	user at lists.gambas-basic.org
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.gambas-basic.org/listinfo/user
> or, via email, send a message with subject or body 'help' to
> 	user-request at lists.gambas-basic.org
> You can reach the person managing the list at
> 	user-owner at lists.gambas-basic.org
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of User digest..."
> Today's Topics:
>    1. Re: TrayIcon menu icon: always a delay time (CD)
>    2. Re: TrayIcon menu icon: always a delay time (Bruce Steers)
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
i do not get any problems one i had fixed your code.
The delay may be because you do it through a 1 second timer.
i changed the timer.Start instruction to Timer.Trigger to trigger the timer
right away.

also in places you had used 
(the n is missing from Icon)

Now your program seems to work normally, the colours look fine.
(are you using a dark theme on your desktop?)

More information about the User mailing list