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

Shortcuts not working when switching input source language #67379

Closed
cmas1 opened this issue Jan 29, 2019 · 1 comment
Closed

Shortcuts not working when switching input source language #67379

cmas1 opened this issue Jan 29, 2019 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@cmas1
Copy link

cmas1 commented Jan 29, 2019

  • VSCode Version: 1.30.2
  • OS Version: Ubuntu 16.04

It appears that vscode uses as keyboard layout for the shortcuts the input source language that is active when the program is launched. Once the program is running, changing the source input language does not affect the way vscode interpretes the keys for shortcuts. This only affects the shortcuts, not general typing.

Steps to Reproduce:

  1. In Ubuntu set input source language to EN
  2. launch vscode and in an editor try the comment line shortcut, ctrl + /
  3. switch language to IT
  4. press again the keys ctrl + /, which in IT layout should be read as ctrl + -, that is the shortcut for zoom out. However it still executes the comment line shortcut.

Now, close vscode and try the opposite.

  1. In Ubuntu set the input source language to IT
  2. launch vscode and in an editor and press ctrl + /. Now this is read correctly as ctrl + - and the font size decreases
  3. switch language to EN
  4. press again the keys ctrl + /. Once again, the font size decreases instead of performing the comment line shortcut.

I also verified the same problem when switching from English (US) to German.

@vscodebot vscodebot bot added the editor-contrib Editor collection of extras label Jan 29, 2019
@alexdima
Copy link
Member

@alexdima alexdima added *duplicate Issue identified as a duplicate of another issue(s) and removed editor-contrib Editor collection of extras labels Jan 30, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 16, 2019
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)
Projects
None yet
Development

No branches or pull requests

2 participants