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

VSCode detecting wrong / key #111223

Closed
victormoraesgs opened this issue Nov 24, 2020 · 2 comments
Closed

VSCode detecting wrong / key #111223

victormoraesgs opened this issue Nov 24, 2020 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) linux Issues with VS Code on Linux

Comments

@victormoraesgs
Copy link

victormoraesgs commented Nov 24, 2020

  • VSCode Version:
    1.51.1
    e5a624b
    x64
  • OS Version: Ubuntu 20.04

Steps to Reproduce:

  1. Open VSCode
  2. Try to use Toggle Line Comment shortcut
  3. Nothing happens

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

Some extra input:

I noticed that when I try to create e new keybinding, VSCode understands / as ; and understands ; as [Semicolon], just like the screenshot below:
Peek 2020-11-24 07-13

I use the english keyboard layout for coding, but I am brazillian and use Portuguese(Brazil) as my primary input configuration. It makes no sense to me, since I always open VSCode with the english input configured, but in my primary layout the / key position is, indeed, ;, not sure if that is causing the bug.

Below are my installed keyboard layouts:
image

Tried to change keyboard layouts order to put English first but the bug persists.

@victormoraesgs
Copy link
Author

victormoraesgs commented Nov 24, 2020

Tried to change keyboard layouts order to put English first but the bug persists.

Actually, after changing the order and restarting VSCode the bug went away. What is causing the bug is that VsCode is reading inputs from the first keyboard layout configured and not the active one! Not sure if that is a VSCode or Electron bug.

@alexdima alexdima added the linux Issues with VS Code on Linux label Nov 25, 2020
@alexdima
Copy link
Member

Yes, I'm sorry about that. Duplicate of #24166

@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 25, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) linux Issues with VS Code on Linux
Projects
None yet
Development

No branches or pull requests

2 participants