MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Only one CoreWebView2.PermissionRequested event is raised when requesting pan tilt zoom permission
@Lakshmisha-KS is already working on this.
Since Feb 12, 2025.
- 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


Version
SDK: 1671.0
Runtime: 109.0.1518.78
Framework: WPF
OS: Win10
Repro Steps
- Have an external camera plugged in
- 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
- Navigate to: https://ptz.glitch.me/
- Click on the button with the
video: { pan: true}content - Built-in permission popup should not be visible and two CoreWebView2.PermissionRequested should be raised instead of one
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.
Assessment
This issue has not been assessed yet.