Replies: 3 comments
-
it works on windows for me, but it doesn't seem possible to show again, ctx.send_viewport_cmd(egui::ViewportCommand::Visible(true)); is never consumed |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've just encountered this with egui 0.31.1 on Windows 10. On my system, handling ctx.send_viewport_cmd(egui::ViewportCommand::Visible(false)); works just fine, but setting it back to true again is just always ignored, so the window is never shown again. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Long story, see this #3655 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Updating my app to work with
0.25.0
and I noticed the removal of theon_close_event
(usingeframe
).I've tried calling

ctx.send_viewport_cmd(ViewportCommand::Visible(false));
which I assumed would be the equivalent offrame.set_visible(false);
but it doesn't seem to do anything.Similarly for converting from on_close to the new API this prevents the window from being closed but doesn't hide the window afterwards
What am I missing here?
Beta Was this translation helpful? Give feedback.
All reactions