MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Support opaque webview
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
Currently we can use the ICoreWebView2CompositionController interface for visual hosting, but it seems like WebView2 always work on alpha blending mode, even I call SetDefaultBackgroundColor using alpha value 255 and enter full screen mode, dwm.exe cause high gpu usage.
In contrast, Chrome uses F11 to enter full screen mode, and dwm.exe has almost no gpu usage.
Describe the solution you'd like and alternatives you've considered
APIs like SetOpaque are worth considering.
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
Start with the ICoreWebView2CompositionController documentation and the linked AB#42649213 work item; compare the reported alpha-blending and full-screen behavior with the requested SetOpaque-style API. Done requires an agreed API design and evidence that opaque hosting reduces the reported dwm.exe GPU usage.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100