Skip to content

[Windows] WebView Regression from NET9 to NET10 #34558

@Grzegorz1223

Description

@Grzegorz1223

Description

.NET10 WebViews are not dispalying correctly if we instance more than 1 at the same time. This was working correctly with .NET9

Steps to Reproduce

  1. Clone the provided reproduction project
  2. Compile it and start on windows
  3. It will automatically open a HybridWebView in the Main window and an additional Window with a WebView
  4. The additional Window will be blank, instead of showing the google.com page.
  5. Here is a link to the same repro project but with NET9 where you can see the expected behavior
    https://github.com/Grzegorz1223/WebViewBugReproNET9

.NET10
Image

.NET9

Image

Link to public reproduction project repository

https://github.com/Grzegorz1223/WebViewBugReproNET10

Version with bug

10.0.50

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

9.0.120 SR12

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

Just to rollback to NET9

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions