elements icon indicating copy to clipboard operation
elements copied to clipboard

Window starts with a black screen

Open wltyzh opened this issue 1 year ago • 4 comments

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

wltyzh avatar Nov 08 '24 02:11 wltyzh

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

djowel avatar Nov 08 '24 04:11 djowel

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

wltyzh avatar Nov 08 '24 07:11 wltyzh

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.

djowel avatar Nov 08 '24 07:11 djowel

@wltyzh I'm using VS 2022 and don't have this problem.

bredej avatar Dec 06 '24 20:12 bredej