Replies: 4 comments 1 reply
-
Upddate: This does work, sometimes, but it's definitely inconsistent. Not sure why it doesn't trigger the update every time. |
Beta Was this translation helpful? Give feedback.
-
I'm still having issues with the tray being functional every time I run the application. Is this normal? Sometimes the tray works exactly as expected, but other times it show, but clicking on the options has no effect. I'm a bit concerned about that. |
Beta Was this translation helpful? Give feedback.
-
Hey @bmcgonag thanks for posting this. The |
Beta Was this translation helpful? Give feedback.
-
Hey @bmcgonag I tested this scenario by creating a tray menu and dynamically updating (updated several times -- not just one time) it by calling |
Beta Was this translation helpful? Give feedback.
-
I have a simple app, and I'm getting the tray icon set with no issues using the following:
In a separate function triggered by use action in the main window, I'm trying to dynamically add an entry into the tray menu like this:
When I take the action, I can console logout the new
tray.menuItems
array of objects, and everything is there as you'd expect, but the tray itself isn't updated.Any help on what I may be doing wrong would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions