Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3: ShellNotifyIcon fails when shell not loaded yet/properly #3693

Closed
DeltaLaboratory opened this issue Aug 20, 2024 · 0 comments
Closed

v3: ShellNotifyIcon fails when shell not loaded yet/properly #3693

DeltaLaboratory opened this issue Aug 20, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@DeltaLaboratory
Copy link

Description

windows system tray calling ShellNotifyIcon with NIM_ADD argument, and panic if syscall fail.
but ShellNotifyIcon with NIM_ADD can be failed when shell(explorer) is not exists yet. especially when app registed as start application via registry

To Reproduce

  1. Having pretty bad computer
  2. Register application at start application register key with systray support
  3. try reboot until the issue reproduced

Expected behaviour

retry or let developer handle this type of error

Screenshots

No response

Attempted Fixes

I created small patch for this

System Details

^M

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant