MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Support opaque webview

Open
#3,071 1 comment 0 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

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.

AB#42649213

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.