You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Add Flag to Suppress Fullscreen and Pointer Lock Prompts #4960
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!
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!
Reacted by Pablo, IdeasPerSecond, Liam Stone, mr-ariel, Tarek200 and Luiz Alves
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.
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.
Activity
AshleyScirra commentedon Jan 13, 2025
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!
IdeasPerSecond commentedon Jan 14, 2025
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.
Lakshmisha-KS commentedon Jan 27, 2025
Thank you for bringing this to our attention. This issue is now part of our backlog. We will update you once development begins.
AshleyScirra commentedon Jul 31, 2025
Hi folks, any update on this?
xinlanjun commentedon Nov 12, 2025
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!
xinlanjun commentedon Jan 2, 2026
Lakshmisha K S (@Lakshmisha-KS) Hi folks, Happy New Year !any update on this?
castorix commentedon Feb 23, 2026
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.