-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
desktop: Add "Advanced Open..." dialog #11240
Conversation
Very nice improvement, thanks. Just two things I noticed:
|
Hmm I don't think I can reproduce. Is it only in "Open", or "Browse", or both? Are you using release or debug?
I think this might already be an issue with the context menu and help screen, I think Mike encountered that before. I need to find a solution for egui but I don't think I can solve it for this PR. |
This happens in both cases. I compile using hang.mp4 |
Does it happen on current master (/latest nightly) or is it exclusive to this PR? That's so strange. |
Okay I figured it out, it's our workaround for rust-windowing/winit#2291 If we make the dialog on another thread, it doesn't reuse our event loop and that makes windows realize our event loop is stalled The reason we didn't experience the panic before was because we used Wait and immediately blocked the app to open the dialog, but that's not the case with the GUI. |
…sive ruffle in that case alone
I'm wondering whether the "horrible hack" added here1 for rust-windowing/winit#2291 is still necessary: iced-rs/winit#14 (comment) |
The exact settings inside is definitely going to change over time, but I think it's more than good enough for now. Some of them will likely move to being global settings, or stuff you change on a whim perhaps.
I've also made it default to opening this dialog straight away (if no movie has been specified on the CLI) just for quality of life, though in the future I'd like to investigate a much better "title screen" that has recent games ready to click
All values default to what's set on the CLI.