I am taking over a legacy WPF app. What I have noticed that occasionally it will display with a white screen when launched. This does not happen all the time. Only when I move the mouse over the screen do I start seeing sections of the UI drawn. I never get the whole UI drawn and have to restart the app.
We are on windows 8.1 and .net 4.5
Sorry for the minimum amount of information but an clues on where to look would be great.
Without actually knowing what the code is doing it looks like the WPF rendering thread is not catching up, I would suggest you try a few things:
However, best is to start looking at the code this might just be a bug that messes up the UI.
See some troubleshooting tips here
Graphics card troublehooting
Windows Presentation Foundation (WPF) differs from prior application platforms on Windows in that it uses its own DirectX-based hardware-accelerated rendering pipeline, when available, to draw the contents of any WPF windows.Prior application platforms were typically much less dependent on display driver quality because the bulk of their rendering was done in software rather than hardware. As a result, the visual quality of WPF applications is heavily dependent on the quality of the system’s display device and its display drivers. Faulty display devices may cause drawing artifacts within WPF applications or elsewhere on the desktop when an application uses the WPF hardware-rendering pipeline.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With