I'm using miniquad for graphics together with egui, plus the glue crate egui-miniquad. I've been using rfd to open a file dialog window with FileDialog::pick_file and it works perfectly on Linux, but when I tried this on MacOS the dialog window does not open. The program does not crash, the method returns None and I get this dump on the terminal:
I've tested rfd on miniquad by itself and on egui by itself and it works on both (even in MacOS), so the problem seems to be specific to egui-miniquad + rfd + MacOS. I've read on some of the other issue threads and noticed that there might be issues related to which thread the window is created, so I also printed the current thread both on the first line of main and before opening the window (but this example seems to be single threaded), and in both cases we get ThreadId(1).
The code I used is this (a smaller version of demo.rs on egui-miniquad):
I'm using miniquad for graphics together with egui, plus the glue crate egui-miniquad. I've been using
rfd
to open a file dialog window withFileDialog::pick_file
and it works perfectly on Linux, but when I tried this on MacOS the dialog window does not open. The program does not crash, the method returnsNone
and I get this dump on the terminal:I've tested
rfd
on miniquad by itself and onegui
by itself and it works on both (even in MacOS), so the problem seems to be specific toegui-miniquad
+rfd
+ MacOS. I've read on some of the other issue threads and noticed that there might be issues related to which thread the window is created, so I also printed the current thread both on the first line ofmain
and before opening the window (but this example seems to be single threaded), and in both cases we getThreadId(1)
.The code I used is this (a smaller version of
demo.rs
onegui-miniquad
):Same behaviour also happens with
pick_folder
.Tested on MacOS Ventura 13.2.1.
Thanks for reading. Any feedback is appreciated.