Skip to content

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

Open

Description

@ToadLobe

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

Activity

  1. AshleyScirra commented on Jan 13, 2025

    @AshleyScirra

    This is coming up as a blocker for some people to move from NW.js to WebView2 - it's coming up on our forum in a few places (e.g. https://www.construct.net/en/forum/construct-3/how-do-i-8/rid-pointer-lock-messages-184857, https://www.construct.net/en/forum/construct-3/how-do-i-8/construct-exporting-webview2-184888).

    This is one of those things where the wrapper application already has permission to do something like pointer lock without any notification appearing, so there is no security/usability benefit in the context of WebView2, it's just an annoying and unnecessary message. Hoping it's a straightforward one to do and that it can be addressed soon!

  2. IdeasPerSecond commented on Jan 14, 2025

    @IdeasPerSecond

    This is a major issue for us as well. Our game is mouse based and every time the user switches to a new menu a prompt is shown, which is preventing us for switching to WebView2 until this issue is fixed.

  3. Lakshmisha-KS commented on Jan 27, 2025

    @Lakshmisha-KS

    Thank you for bringing this to our attention. This issue is now part of our backlog. We will update you once development begins.

  4. AshleyScirra commented on Jul 31, 2025

    @AshleyScirra

    Hi folks, any update on this?

  5. xinlanjun commented on Nov 12, 2025

    @xinlanjun

    Thank you for bringing this to our attention. This issue is now part of our backlog. We will update you once development begins.

    Lakshmisha K S (@Lakshmisha-KS) Is this issue being overlooked? Hoping it's a straightforward one to do and that it can be addressed soon!

  6. xinlanjun commented on Jan 2, 2026

    @xinlanjun

    Lakshmisha K S (@Lakshmisha-KS) Hi folks, Happy New Year !any update on this?

  7. castorix commented on Feb 23, 2026

    @castorix

    As I posted in discussion thread, I tested with Pointer Lock (in WinUI 3 / C# with COM interfaces) and I could hide the Popup, but not easy (WH_CBT hook & HCBT_CREATEWND, subclassing, ...)
    I don't know how to test Fullscreen (I tried requestFullscreen in a JS script, which seems to work on a YT page, but no Popup...) (Windows 10 22H2).
    So a flag would be a lot simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions