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.
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.