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

System Tray Disappears When Explorer Crashes/Restarts #261

Open
Ep0chalypse opened this issue Sep 8, 2022 · 0 comments
Open

System Tray Disappears When Explorer Crashes/Restarts #261

Ep0chalypse opened this issue Sep 8, 2022 · 0 comments

Comments

@Ep0chalypse
Copy link

When explorer.exe crashes or restarts the icon disappears from the system tray. This happens on Windows 11 using rust stable-x86_64-pc-windows-msvc 1.63.0.

Steps to reproduce:
Run either system_tray example

  • cargo run --example system_tray --features "tray-notification message-window menu cursor"
  • cargo run --example system_tray_d --features "tray-notification message-window menu cursor"

Then open Task Manager to the Processes tab and find "Windows Explorer" and right click and then select "restart"

After a few seconds the taskbar will reload and when you navigate to the system tray area the icon for the system_tray app will be gone but the application will still be running(you can see the process exe is still running if you look at Task Manager). No output is shown on the terminal you run the example from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant