Running egui on top of a taskbar-icon-only app #5227
Unanswered
ponchofiesta
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I try to add a simple egui window as settings window to a taskbar-only app. For some reason, the original event loop for the tray icon seam to stop working after I closed the settings window. Mostly it takes some time.
I assume the two event loops (tray icon and egui window) don't work well together or don't support running in parallel.
Here is the line were the tray icon event loop starts the egui window:
https://github.com/ponchofiesta/tray-weather/blob/main/src/main.rs#L74
Do I need to get this running in one single event loop to get this solved maybe?
Beta Was this translation helpful? Give feedback.
All reactions