You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
29.1.6
What operating system are you using?
Windows
Operating System Version
Windows 10 Version 22H2
What arch are you using?
x64
Last Known Working Electron version
26
Expected Behavior
The tray icon to be created normally when a uuid is used, as it used to be in Electron 26.
Actual Behavior
Tray icon only gets created when the application is first installed. Try installing/updating the application with the same tray icon uuid and tray icon will no longer be created.
I know this issue is almost 10 years old, but I am facing this exact same problem after upgrading my application from Electron from 26 to 28.
[13988:0201/145554.280:WARNING:notify_icon.cc(62)] Unable to create status tray icon.[13988:0201/145554.289:WARNING:notify_icon.cc(143)] Error setting status tray icon image[13988:0201/145554.296:WARNING:notify_icon.cc(159)] Unable to set tooltip for status tray icon
And, as suggested by @anaisbetts, removing GUID from the tray icon indeed brings the tray icon back.
Note however I can only reproduce this bug in Windows 10, not Windows 11.
@felipecrs unfortunately there's not much we can do about this at this juncture - see #21891 which brought it back for requisite caveats to using the GUID.
Preflight Checklist
Electron Version
29.1.6
What operating system are you using?
Windows
Operating System Version
Windows 10 Version 22H2
What arch are you using?
x64
Last Known Working Electron version
26
Expected Behavior
The tray icon to be created normally when a uuid is used, as it used to be in Electron 26.
Actual Behavior
Tray icon only gets created when the application is first installed. Try installing/updating the application with the same tray icon uuid and tray icon will no longer be created.
Testcase Gist URL
No response
Additional Information
Replaying what I wrote in #41721:
I know this issue is almost 10 years old, but I am facing this exact same problem after upgrading my application from Electron from 26 to 28.
And, as suggested by @anaisbetts, removing GUID from the tray icon indeed brings the tray icon back.
Note however I can only reproduce this bug in Windows 10, not Windows 11.
Originally posted by @felipecrs in #2468 (comment)
The text was updated successfully, but these errors were encountered: