-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
WinitSettings::desktop_app() is broken #11320
Comments
Appears to be the same root cause as #11235. |
Ran this on my Linux machine originally. Compiled, no errors, but no window spawns. However, during the writing of this comment, I left the program running in the background, and it did EVENTUALLY open. I tested this to take around 61s +/- 1s across 3 attempts to spawn the window compared to nearly instant when Logs:
|
# Objective - Partial fix for #11235 - Fixes #11274 - Fixes #11320 - Fixes #11273 ## Solution - check update mode to trigger redraw request, instead of once a redraw request has been triggered - don't ignore device event in case of `Reactive` update mode - make sure that at least 5 updates are triggered on application start to ensure everything is correctly initialized - trigger manual updates instead of relying on redraw requests when there are no window or they are not visible
Bevy version
e6a324a
[Optional] Relevant system information
Windows
What you did
cargo run --example ui
What went wrong
The screen was black, and the example did not run.
Logs:
Additional information
First reported by Dj on Discord.
As suggested, removing the
desktop_app
setting fixed this: everything rendered correctly with no warnings.The text was updated successfully, but these errors were encountered: