MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Only one CoreWebView2.PermissionRequested event is raised when requesting pan tilt zoom permission

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

@Lakshmisha-KS is already working on this.

Since Feb 12, 2025.

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

Description

Description

When using an external web camera and requesting pan-tilt-zoom permissions, only a single CoreWebView2.PermissionRequested is raised (for the generic camera access) and the built-in permission popup opens up as well, which is there to manage the pan-tilt-zoom request. The problem is that we can't implement our own permission handling due to this bug. Might be related to https://github.com/MicrosoftEdge/WebView2Feedback/issues/3226

image

image

Version
SDK: 1671.0
Runtime: 109.0.1518.78
Framework: WPF
OS: Win10

Repro Steps

  1. Have an external camera plugged in
  2. Setup "CoreWebView2.PermissionRequested" in such a way that it allows all requests by default. You can just check out my fork of WebView2Samples: https://github.com/szanto90balazs/WebView2Samples/tree/pan-tilt-bug
  3. Navigate to: https://ptz.glitch.me/
  4. Click on the button with the video: { pan: true} content
  5. Built-in permission popup should not be visible and two CoreWebView2.PermissionRequested should be raised instead of one

AB#43454291

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.