We have a Kiosk application that starts some small specialized WPF applications to display certain content. Several of those can be visible at the same time (for example one might show a slide show while an other one shows a video on a different part of
the screen). The kiosk computer's desktop background is set to black, and so are the window backgrounds of all the WPF windows.
But whenever a new window is launched, its background flashes white for a brief moment.
All that is needed to reproduce the behaviour is to create a new WPF application, set the window's background to black, and start the application. When started from within Visual Studio the effect is very noticeable. When running without the debugger that white
flash is much shorter, but still noticeable since everything else is black.
I have already tried everything I could think of (including redefining SystemColors.WindowBrushKey to black), but without success.
We are using .Net4 and all the windows have WindowState.Normal.
As far as I can see, this is a known issue in WPF. Currently our developers are aware of this issue already. They will take this into serious account when designing the future releases of the products.
Improving the quality of the products and services is a never-ending process for Microsoft. Thanks again for choosing us.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.