Description
What happened?
In windows 11, using WebView2 version 1.0.3065.39, by default, the key combination CTRL+SHIFT+S pulls up the built-in screenshot tool.
This is not ideal when embedding the webview2 into a WinForms.
I searched for a chromium flag to pass while creating a CoreWebView2EnvironmentOptions instance, but couldn't find any.
I already have AreBrowserAcceleratorKeysEnabled = false
, and it works for everything else.
ChatGPT also suggests intercepting that key combination in the AcceleratorKeyPressed event, but it's not available in the WinForms implementation.
Is there any way to inhibit the tool from appearing?
Thank you.
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
1.0.3065.39
SDK Version
No response
Framework
Winforms
Operating System
Windows 11
OS Version
No response
Repro steps
Press CTRL+SHIT+S
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
No response