Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET - 1.0.707-prerelease WebView2 doesn't load any page when using WebView2 Runtime #678

Closed
lucapivato opened this issue Nov 25, 2020 · 7 comments
Labels
bug Something isn't working

Comments

@lucapivato
Copy link

Description
Doesn't work.

Version
WebView2: 1.0.707-prerelease, 1.0664.37.0
Edge: 87.0.664.47
Windows: 10

Repro Steps

  • New WinForms project
  • Add WebView2 NuGet
  • Drop WebViewer2 control on form
  • Set webView21.Source to "https://google.com" in designer (or in code, doesn't matter)

Screenshots

image

@lucapivato lucapivato added the bug Something isn't working label Nov 25, 2020
@jakasi2
Copy link

jakasi2 commented Nov 25, 2020

Identical setup works for me.

Edge Browser 87.0.664.47 64-bit
WebView2 Runtime 87.0.664.47
NuGet Microsoft.WebView2 1.0664.37.0
Windows 10 Home 20H2
Microsoft Visual Studio Community 2019 v16.8.2

@lucapivato
Copy link
Author

lucapivato commented Nov 25, 2020 via email

@dmcgloin
Copy link

I've seen this happen starting with 1.0.707-prerelease.
For me, it happens approximately 1 in 4 times.

@jakasi2
Copy link

jakasi2 commented Nov 26, 2020

I tried 1.0.707-prerelease and it also causes problems. For me it happens all the time.
1.0.674-prerelease and 1.0.664.37 works for me with respect to this glitch.

@champnic
Copy link
Member

Hey all - thanks for these reports! I believe the issue you're running into is a compatibility bug between the new prerelease package and latest runtime. We've got a fix in the works now, and are potentially going to deprecate 707-prerelease and release a new prerelease package soon. This should only affect the prerelease package.

Workaround
In the meantime, please continue to use 1.0.674-prerelease package, or use Canary/Dev Edge instead of the WebView2 runtime.

@cppchuff
Copy link

I have tried 1.0.721, 1.0.664 and 1.0.674 in .NET Framework4.6.2 and 4.8. It doesn't load any page. I think it may be caused VS2019. I do the same things according #431, it doesn't work.

@dmcgloin
Copy link

dmcgloin commented Jan 5, 2021

Still happening for me with 1.0.721-prerelease. Note that resizing the containing window just slightly will resolve the issue.

@champnic champnic unpinned this issue Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants