Skip to content

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

Open
@Taoduhui

Description

@Taoduhui

What happened?

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

MicrosoftTeams-video.3.mp4

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

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