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

Create new window keyboard shortcut Ctrl+Shift+N does not work in Windows 10 on latest VS Code Insiders build #124271

Closed
jaanli opened this issue May 20, 2021 · 8 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@jaanli
Copy link

jaanli commented May 20, 2021

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

Version: 1.57.0-insider (system setup)
Commit: 53b58c8
Date: 2021-05-19T13:57:29.889Z
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Windows_NT x64 10.0.19042

Steps to Reproduce:

  1. Install latest VS Code Insiders from https://community.chocolatey.org/packages/vscode-insiders
  2. Open VS Code
  3. Try to create a new window with the keyboard shortcut Ctrl+Shift+N
  4. The window does not open
@roblourens roblourens assigned deepak1556 and bpasero and unassigned deepak1556 May 21, 2021
@bpasero
Copy link
Member

bpasero commented May 21, 2021

I cannot reproduce.

Can you try to run code --disable-extensions --user-data-dir <directory> where <directory> is an empty folder? This will ensure Code is starting with a fresh data directory, e.g. no specific settings and without any extensions running.

@bpasero bpasero added the info-needed Issue requires more information from poster label May 21, 2021
@jaanli
Copy link
Author

jaanli commented May 21, 2021

Thanks @bpasero ! I wonder what is quickest to debug if you cannot reproduce.

I just tried running code --disable-extensions --user-data-dir tmp where tmp is empty, and am still seeing the same behavior:

image

Maybe there is a way to check the logs of keypress events in windows?

@bpasero
Copy link
Member

bpasero commented May 21, 2021

When you open the keybindings editor and search for any key assigned to Ctrl+Shift+N?

@jaanli
Copy link
Author

jaanli commented May 21, 2021

Thanks! Yes it looks like it's mapped correctly:

image

@bpasero
Copy link
Member

bpasero commented May 21, 2021

And File > New Window works?

@jaanli
Copy link
Author

jaanli commented May 21, 2021

Yes, that's what I've been using :) but I am working on VS Code accessibility features (e.g. voice navigation) that require keyboard shortcuts, so it would be very helpful to figure out where I'm going wrong here

@bpasero
Copy link
Member

bpasero commented May 22, 2021

Does this reproduce when you first close all editors and then hit Ctrl+Shift+N, and if so, is there anything printed to the devtools console:

Please see if you can find any logged output that could help us find the source of the issue:

  • run code --verbose from the command line and attach the output
  • in Code select Help | Toggle Developer Tools and select the Console
  • attach any output you see in the Console you can find

Thanks!

@jaanli
Copy link
Author

jaanli commented May 24, 2021

Hmm, seems like this was a Windows bug.

Fixed!

I realized that Ctrl+Shift+N was not working in Chrome either (for New Incognito Window).

I remapped Ctrl(left) + shift(right) + N to Ctrl(right) + Shift(left) + N using the PowerToys keyboard manager https://docs.microsoft.com/en-us/windows/powertoys/keyboard-manager

Then I restarted.

This seems to have fixed it - Ctrl+Shift+N works in VS Code and Chrome.

It could be a weird side effect from using Bootcamp as well. Ctrl+Shift+N works even when I disable PowerToys or the keyboard manager.

Thanks so much for sticking with this!!!

Will update if anything comes up again - hope this helps anyone else on Bootcamp / Windows who finds Ctrl+Shift+N or the New Incognito Window or New Window keybindings / keyboard shortcuts aren't working :)

@jaanli jaanli closed this as completed May 24, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants