MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem/Bug]: The playing video behind Webview2 will pass through Webview2 WPF window when the webview2 re-rendering

Open
#5,166 0 comments 0 reactions 1 assignee View on GitHub

@Badhri is already working on this.

Since Mar 17, 2025.

bug
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

What happened?

The playing video behind Webview2 will pass through Webview2 WPF window when the webview2 re-rendering in low resolution enviroments

https://github.com/user-attachments/assets/87907d41-2815-4ac5-8c2b-008d190badc5

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

127.0.2651.74

SDK Version

1.0.1418.22 & 1.0.2592.51

Framework

WPF

Operating System

Windows 11

OS Version

26100.1150 & 26100.1301

Repro steps

Enviroment:

  • Win11 24H2 26100.1150 & 26100.1301
  • Webview Runtime: 127.0.2651.74
  • Webview NuGet: 1.0.1418.22 & 1.0.2592.51
  • WPF
  • display resolution: 1280x1024

Steps to repro:

  • Create a blank WPF program using .net framework 4.7.2 or .net 6
  • Install Webview NuGet: 1.0.1418.22 or 1.0.2592.51
  • Complete the program base on MSDN WebView2 Demo
  • Make sure the enviroment is same as the Enviorment Section
  • Open any video using Win11 Media Player, maximize the window, pause.
  • Run the WebView Demo program, maximize the window.
  • Switch to the media player, play the video
  • Switch back to the Demo Program. (make sure the media player is the last actived window before demo program)
  • hover on any button or tootip will cause re-rendering.
  • The playing video behind Webview2 will pass through Webview2 WPF window when the webview2 re-rendering and keep flashing [1]
    Expected results:
  • The playing video behind Webview2 should not pass through Webview2 WPF window when the webview2 re-rendering and keep flashing [1]
    Actual results:
  • The playing video behind Webview2 pass through Webview2 WPF window when the webview2 re-rendering and keep flashing [1]
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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.