Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from Feb 5, 2023

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 <alexdima@microsoft.com>
@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
5 participants