MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[WinForms] Deinitialization of CoreWebView2?
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
WebView2 is a visual control, that belong to Form and have some layout properties. When user open form, CoreWebView2 is not initialized. When user want to see something from web, we need to init CoreWebView2 - ok. But after user end his work, we need to revert WebView2 to it's original state - not initialized (due to heavy resources usage). Can we something deinit CoreWebView2 without Dispose whole control? Dispose only CoreWebView2?
For now only way I see is remove it from controls, Dispose it, than create new one, add it to controls and apply all layout logic again...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names the WinForms WebView2 control and CoreWebView2, but no repository files, tests, or entry points. Start by investigating the control's initialization and disposal lifecycle; done would require a supported way to return CoreWebView2 to an uninitialized state without disposing the visual control.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100