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

Ctrl+Shift+N produces empty window #128977

Closed
thany opened this issue Jul 19, 2021 · 6 comments
Closed

Ctrl+Shift+N produces empty window #128977

thany opened this issue Jul 19, 2021 · 6 comments
Assignees
Labels
info-needed Issue requires more information from poster insiders-released Patch has been released in VS Code Insiders windows VS Code on Windows issues

Comments

@thany
Copy link

thany commented Jul 19, 2021

Does this issue occur when all extensions are disabled?: Don't know

  • VS Code Version: 1.58.2 (happened as of 1.58.0, if I remember. Not earlier than that, but I could be mistaken)
  • OS Version: Windows 10 21H1

Steps to Reproduce:

  1. Have any repository/workspace/file open
  2. Press Ctrl+Shift+N

Please note that this doesn't always reproduce the issue. In my case, it's 100% reproducible right now, but ymmv. For you, it might never occur, or always, or sometimes. For me it might not occur the next time I completely exit VScode, or do a reboot, or something. It's hard to tell exactly when this happens or not.

This is what I see when I press Ctrl+Shift+N. A new window appears, but that window doesn't fully, ehm, load. Or something.
image

And it stays like that. It's not slow or anything, and I can close it by pressing Alt+F4 on it.

For me, the only way to get an additional VScode window that does more than drawing a couple of grey & purple rectangles, is to start it again from my desktop/start shortcut. Unless Ctrl+Shift+N happens to work properly, of course.

@thany
Copy link
Author

thany commented Jul 19, 2021

Interesting, when I open a repo in the new window created by starting another VScode instance from the shortcut, the window goes empty again like above, but without the purple bottom bar. Doing the same thing in the first window produces the same problem again. Only restarting VScode entirely works around it. Ctrl+Shift+N then works correctly as well. I wonder when it will start failing again.

@mrob95
Copy link

mrob95 commented Jul 19, 2021

I've hit the same thing multiple times today. I can't repro it consistently but it gets to a stage where there are a number of windows open and it just can't open another - the new one just hangs.

Version info:

Version: 1.58.2 (user setup)
Commit: c3f126316369cd610563c75b1b1725e0679adfb3
Date: 2021-07-14T22:10:15.214Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Windows_NT x64 10.0.19043

gif:
vscode_hang

See also #129021 #129137 #129138

@AlexandrAnash
Copy link

AlexandrAnash commented Jul 21, 2021

I have exactly the same problem as the guys above

@karabaja4
Copy link

#128903

@deepak1556 deepak1556 self-assigned this Jul 22, 2021
@deepak1556
Copy link
Collaborator

Can you launch with code --verbose and provide the generated output when you hit the problem.

@deepak1556 deepak1556 added info-needed Issue requires more information from poster windows VS Code on Windows issues labels Jul 22, 2021
This was referenced Jul 23, 2021
@mrob95
Copy link

mrob95 commented Jul 23, 2021

@deepak1556 re #129137 (comment) this is a reliable repro for me:

launch vscode -> open external terminal via keyboard shortcut (windows terminal) -> new window -> hang

@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 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 insiders-released Patch has been released in VS Code Insiders windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

7 participants
@thany @bpasero @deepak1556 @karabaja4 @AlexandrAnash @mrob95 and others