Skip to content

fix(keybindings): fix hashcode for scan codes & simple keys#173456

Merged
alexdima merged 2 commits intomicrosoft:mainfrom
hamzahamidi:fix/keybindings
Feb 5, 2023
Merged

fix(keybindings): fix hashcode for scan codes & simple keys#173456
alexdima merged 2 commits intomicrosoft:mainfrom
hamzahamidi:fix/keybindings

Conversation

@hamzahamidi
Copy link
Contributor

@hamzahamidi hamzahamidi commented Feb 5, 2023

The issue was introduced in this PR #169842
The hashcode for scan codes and simple keys was not updated to distinguish between them.

fix #173325
fix #173283

The issue was introduced in this PR microsoft#169842
The hashcode for scan codes and simple keys was not updated to distinguish between them.

fix microsoft#173283
fix microsoft#173325
@russbert
Copy link

russbert commented Feb 5, 2023

When is it possible to release this hot-fix?

@hamzahamidi
Copy link
Contributor Author

@microsoft-github-policy-service agree

@alexdima alexdima added this to the February 2023 milestone Feb 5, 2023
@alexdima alexdima enabled auto-merge (squash) February 5, 2023 21:04
@alexdima alexdima merged commit b02d1d5 into microsoft:main Feb 5, 2023
@hamzahamidi hamzahamidi deleted the fix/keybindings branch February 5, 2023 21:59
c-claeys pushed a commit to c-claeys/vscode that referenced this pull request Feb 16, 2023
…t#173456)

* fix(keybindings): fix hashcode scancode/simplekey

The issue was introduced in this PR microsoft#169842
The hashcode for scan codes and simple keys was not updated to distinguish between them.

fix microsoft#173283
fix microsoft#173325

* Avoid hash collisions between `KeyCodeChord` and `ScanCodeChord`

---------

Co-authored-by: Alex Dima <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

keyboard shortcuts: wrong interpretations of special keys (e.g. [Equal] is mistaken for V) CMD + W doesn't close window anymore

5 participants