eframe: create multiple windows in sequence
Since https://github.com/emilk/egui/pull/1889 we can now open an eframe window, close it, and keep running the application.
What we want to do is to then be able to open another window and run that for a while, etc.
Thanks to https://github.com/emilk/egui/pull/1919 this now works on Windows, but this does not yet work on Mac, due to https://github.com/rust-windowing/winit/issues/2431. Linux is unknown.
- Blocked on https://github.com/rust-windowing/winit/issues/2431
Linux is unknown.
@emilk Just ran examples/serial_windows on Ubuntu 22.10/Gnome. The second window opens up and then the program crashes immediately. That sounds like the behavior on Mac as described in rust-windowing/winit#2431.
- https://github.com/emilk/egui/pull/3649 does not help on Mac :(
Hi, I'm having some issues with this:
https://github.com/emilk/egui/assets/59890307/d7ea2448-8eb1-4bd0-9b11-9f15b2906757
I've seen that closing the window while continuing program execution is supported, but for me, the window will freeze until either a new window is closed or the program exits.
This is with eframe = "0.26.2", and using run_and_return: true in the native options, on Windows 11.
Any workarounds, or fixes? Thanks!