MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Feature]: Add Flag to Suppress Fullscreen and Pointer Lock Prompts

Open
#4,960 7 comments 17 reactions 1 assignee View on GitHub

@Lakshmisha-KS is already working on this.

Since Dec 2, 2024.

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

Description

Describe the feature/enhancement you need

The Fullscreen API and Pointer Lock API display prompts reminding users that they can press ESC to unlock cursor, exit Fullscreen etc. For our use case this is problematic and breaks immersion.

The scenario/use case where you would use this feature

We use the Construct 3 game engine to design 3D first person games that make use of the Fullscreen API and Pointer Lock API. The popups that appear when these methods are used are immersion breaking and ruin the appearance of a native app.

How important is this request to you?

Impactful. My app's user experience would be significantly compromised without it.

Suggested implementation

A simple flag, e.g. --disable-prompts would be invaluable to us.

What does your app do? Is there a pending deadline for this request?

Our app is a 3D first person game built using the Construct 3 engine. Countless other games built in the engine have this issue, and are stuck using NWjs (no longer supported by Construct) until this issue is resolved. We would like to move to WebView2, but this feature really is essential!

Linked discussion: #4050

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.