Skip to content

[Problem/Bug]: WebView2 just shows full web page in part of the window if change the system resolution when webview2 app starting #5137

Closed as duplicate of#5263
@qkevin

Description

@qkevin

What happened?

If current monitor scale is greater than 100%, mine is 200%, and change the system resolution when webview2 app starting, then the webview will just show the full web page in part of the window see the following.
see: Image

Importance

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

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

133.0.3065.92

SDK Version

1.0.3065.39

Framework

WPF

Operating System

Windows 11

OS Version

26100.3194

Repro steps

  1. Change current monitor scale to 200%
    Image
  2. Run the demo as administrator WebView2Issue.zip
  3. demo app will auto change the monitor's resolution, you should be able to see the screenshot i uploadedImage

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

No one assigned

    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