navossoc / MenuTools

Adds new features to the system menu of applications
MIT License
269 stars 23 forks source link

[Bug]: Failed to create tray icon at startup warning #5

Open Sevastienn opened 3 years ago

Sevastienn commented 3 years ago

MenuTools produces this warning at the start of the system for no apparent reason. Despite this warning, MenuTools is running and working as intended.

Screenshot 2020-12-03 161311

Sevastienn commented 3 years ago

MenuTools produces this warning at the start of the system for no apparent reason. Despite this warning, MenuTools is running and working as intended.

Screenshot 2020-12-03 161311

It seems this warning can be avoided by setting a 30-second delay for the MenuTools task in task scheduler.

navossoc commented 3 years ago

What Windows are you using?

When you see the alert, did you see the icon on the tray icon?

TBH I need to do a review on this, but I've been very busy this past month.

Sevastienn commented 3 years ago

Thank you for the quick reply. This is definitely not something urgent.

As of the operating system, I run Windows 10 Build 20270.

As of the tray icon, it seems like an intermittent bug. Often the icon is created and you can see it in the tray despite the alert. Sometimes the icon is not created and MenuTools is indeed not running after the alert appears and sometimes there is no issue at all. That is what made me think there might be a conflict with some other program starting at startup of the computer and why I tried to delay the start of MenuTools by 30 seconds which seems to have completely resolved the issue.

navossoc commented 3 years ago

@Sevastienn yes, seems the issue is related on how Microsoft handles the "new initialization" of programs on the background. Probably explorer is not ready yet, so that is the major issue.

Sevastienn commented 3 years ago

Yes, that seems likely. Anyway, the delay seems to be effective in avoiding the issue. By the way, thank you for an amazing piece of software!

SlyAceZeta commented 3 years ago

+1 I've been getting this issue too, but adding the 30-second delay in Task Scheduler did the trick. Thank you for mentioning that!

fade2gray commented 3 years ago

@Azekthi I always get that error when rebooting after a Win 10 update - another reboot and it's gone, but thanks for the heads-up 👍

VitaliyAT commented 3 months ago

visual cue image