Skip to content
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

Window starts with a black screen #432

Open
wltyzh opened this issue Nov 8, 2024 · 3 comments
Open

Window starts with a black screen #432

wltyzh opened this issue Nov 8, 2024 · 3 comments

Comments

@wltyzh
Copy link

wltyzh commented Nov 8, 2024

When the window starts up, I first see a black background and only then the drawn elements appears. Can this be avoided?

@djowel
Copy link
Member

djowel commented Nov 8, 2024

Happens in debug mode right? And it happens only once, correct? If not please provide more context for repro.

@wltyzh
Copy link
Author

wltyzh commented Nov 8, 2024

I tested the release environment and still have the problem. I used the TextEdit example, other examples should be the same. You can take a look at the screenshot.
Snipaste_2024-11-08_15-22-55
Snipaste_2024-11-08_15-23-29

@djowel
Copy link
Member

djowel commented Nov 8, 2024

I think Windows takes time to initialize some things at startup, probably in a different thread. Maybe you can try delaying the showing of the window until the app stabilizes.

These are just assumptions. In any case, this issue needs further investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants