microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.65k stars 28.68k forks source link

Dancing keys and shortcuts #187128

Open why-not-try-calmer opened 1 year ago

why-not-try-calmer commented 1 year ago

Does this issue occur when all extensions are disabled?: Yes

Version: 1.80.0-insider
Commit: 660393deaaa6d1996740ff4880f1bad43768c814
Date: 2023-07-04T10:58:02.000Z
Electron: 22.3.14
ElectronBuildId: 21893604
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 6.2.6-76060206-generic

Steps to Reproduce: I am using a QWERTZ keyboard with German layout, with the code dispatch method in VSCode.

When doing Ctrl + < chording to - to trigger a corresponding (chorded) shortcut, I am getting 'Ctrl + <, /' is not a command. So the shortcut which I defined using - is interpreted as using /. Similarily, undoing with Ctrl + z doesn't work, while Ctrl + y does. So when listening to shortcuts VSCode inteprets - as /, and z as y, while both these keys produce the expected result in usual text areas of the editor.

It's quite confusing, and surprising because I was able to define these shortcuts using the exact same keys.

why-not-try-calmer commented 1 year ago

I noticed that between 3-4 updates of VSCode Insiders, the issue tends go back and return.