tao
tao copied to clipboard
[bug][MacOS] Event Loop hard loops when using Right Mouse Button on system tray
I've tested this under MacOS 12 and 13, and the problem occurs on both. It's not present in Windows or Linux.
This bug occurs with the system tray example, run via cargo run --features tray --example system_tray
.
If you Right Click on the icon created by tao, and select 'Quit' the event loop will hard loop (non-stop event triggering while the control_flow
is in an 'Exit' state) until you Ctrl+C the program or, if you haven't yet dropped it, interact with the icon again.
I've done a bit of digging, but I'm not entirely sure what causes it, nor have I been able to find a workaround.