gabdube / native-windows-gui

A light windows GUI toolkit for rust
https://gabdube.github.io/native-windows-gui/
MIT License
1.96k stars 127 forks source link

System Tray does NOT disappear on console exit #288

Open eugenesvk opened 5 months ago

eugenesvk commented 5 months ago

Running cargo run --example system_tray --features "tray-notification message-window menu cursor" and closing the console window via the X window button (or Alt+F4) doesn't remove the tray icon.

When you hover over it, it disappears

so it's a bit of an opposite to https://github.com/gabdube/native-windows-gui/issues/261

Maybe it's a Windows bug but maybe your framework has found a way since that old answer