WebView2Feedback icon indicating copy to clipboard operation
WebView2Feedback copied to clipboard

[Problem/Bug]: Disabling shortcut key of Ctrl + Shift + S is invalid

Open EzrealGao opened this issue 10 months ago • 3 comments

What happened?

Hi, we found the shortcut key of Ctrl + Shift + S still worked when we set the AreBrowserAcceleratorKeysEnabled = false. However, other shortcut keys can be prohibited. We look at this issue and try to use the WebView2 SDK 1.0.3079 pre-release. But the issue still exists.

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

133.0.3065.51

SDK Version

1.0.2957.106

Framework

Winforms

Operating System

Windows 11

OS Version

22631.4890

Repro steps

Create the normal Blazor project, use the above version of WebView2 SDK and Runtime, and set the AreBrowserAcceleratorKeysEnabled = false. We can test the shortcut key of Ctrl + Shift + S.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

SDK 1.0.2903.40, Runtime 131.0.2903.112

EzrealGao avatar Mar 05 '25 02:03 EzrealGao

@EzrealGao Thanks for reporting the issue. I tried reproducing the issue in Runtime Version 133.0.3065.92 and could not reproduce the issue.

Could you please try this in our sample app here and let us know your observation ?

Badhri avatar Mar 05 '25 19:03 Badhri

Hi @Badhri , I tested the shortcut key of Ctrl + Shift + S for the same app you provided and reproduced this issue.

Image I have set it up to AreBrowserAcceleratorKeysEnabled = false. But the shortcut key still worked.

Image

EzrealGao avatar Mar 06 '25 04:03 EzrealGao

@EzrealGao I am able to reproduce this issue. On the first look, I tried to repro this by using Settings->Toggle Accelerator Keys functionality in the sample app and looks like they are not setting the IsBrowserAcceleratorKeysEnabled property. We will create an internal bug for this and get this assigned to someone. Thanks for your time !

Badhri avatar Mar 06 '25 06:03 Badhri