What happened?
If we have more than one monitor connected to the computer and a WPF application that contains WebView2CompositionControl is currently being rendered on the screens, and we then disconnect the docking station or the monitor, a COMException UCEERR_RENDERTHREADFAILURE (0x88980406) is thrown, causing the application to crash.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
1.0.3595.46
SDK Version
No response
Framework
WPF
Operating System
Windows 11
OS Version
No response
Repro steps
- Use more than one monitor.
- Create a WPF project
- Reference NuGet package Microsoft.Web.WebView2
- Include WebView2CompositionControl in MainWindow.xaml
- Start the application
- unplug one of the monitors
Alternatively, the solution in WebView2CompositionControlFailure.zip can be used to reproduce the failure.
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response