Skip to content

[Problem/Bug]: WebView2CompositionControl triggers the COMException UCEERR_RENDERTHREADFAILURE (0x88980406) when the docking station or even the monitor is unplugged. #5437

@ccdninja

Description

@ccdninja

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

  1. Use more than one monitor.
  2. Create a WPF project
  3. Reference NuGet package Microsoft.Web.WebView2
  4. Include WebView2CompositionControl in MainWindow.xaml
  5. Start the application
  6. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions