Skip to content

[Problem/Bug]: Webview2 WPF rendering issue with 2 screens #5233

Open
@harshmodhiya

Description

@harshmodhiya

What happened?

If we have 2 screens with different scaling, we can see a rendering issue in the Webview2 control.
The window may freeze, preventing users from clicking anything, moving the window, or closing it.

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

136.0.3240.50

SDK Version

1.0.3124.44

Framework

WPF

Operating System

Windows 11

OS Version

26100.3915

Repro steps

We can reproduce this issue with 2 cases:
Case 1:

  • Open the WPF-created application in the external screen.
  • Disconnect the external screen
  • Open a dialogue or screen which have the Webview2 control
  • Try to move the window around or try to click X(close button)
  • The users can't move or close the screen

Case 2:

  • Open the WPF-created application in the default screen.
  • Connect the external screen
  • Open a dialogue or screen which have the Webview2 control
  • Try to move the window around or try to click X(close button)
  • The users can't move or close the screen

Note: There needs to be a difference in the scaling of the two screens.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

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