MicrosoftEdge / MicrosoftEdge/WebView2Feedback

EnsureCoreWebView2Async not completing, and SetVirtualHostNameMapping not working until WV2 instance is visible

Open
#2,599 6 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description
EnsureCoreWebView2Async not completing, and SetVirtualHostNameMapping not working until WV2 instance is visible. Details at https://weblog.west-wind.com/posts/2022/Jul/14/Fighting-WebView2-Visibility-on-Initialization

Version
SDK: TBD
Runtime: ~103
Framework: WPF
OS: Irrelevant

Repro Steps
See post above.

Screenshots
See post above.

Additional context
See post above.

AB#41353974

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.

Research direction

Start with the linked weblog post and the issue's WPF reproduction steps, using the reported ~103 runtime context. Confirm the behavior around EnsureCoreWebView2Async and SetVirtualHostNameMapping before the WebView2 instance is visible; done means the cause and a reproducible resolution are documented.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.