-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Additional windows doesn't react (File -> New Window) #128903
Comments
This screen recording shows the problem... |
I can confirm this bug on my system as well: |
Can you launch with |
I will try and run vscode with --verbose, but the bug is very hard to reproduce. It seems to happen under very specific circumstances and after vscode has been running for a while. If I restart it it behaves normally again. |
I can confirm that this also happens on Windows 10. |
Do you all have seen this problem also when using vscode with a remote vscode-server like in a Docker container? I run it the whole day in verbose and it has not occurred a single time. |
@mmahdigh are you running from a symlink path ? |
The file from |
BTW This happens also when changing workspace in a single window. |
Thanks for the logs, the issue is not related to workspace trust but rather the resource loading protocol is incorrect. Are you able to reliably reproduce the issue ? If so, can you try launching like |
Happens also on Windows. |
@deepak1556 To your question in #128903 (comment) ... Yes, when using a fresh and empty user-data-dir I can reproduce it. Reliably is a different question. It happens quite often, but I don't have the steps to reproduce it always. After some working with vscode it happens on local workplace switch or opening new windows. The only thing I have added to the new user-data-dir are these settings in User/settings.json:
|
Thanks for testing, I was able to get a reliable repro from another report #128745 (comment) . Can you confirm if you are using the external terminal action ? |
@deepak1556 Yes, opening an external terminal/console (Ctrl+Shift+C) and afterwards trying to open new window or changing workspace doesn't work. That reproduces it always immediately. |
The root issue has been identified, I will merge this to #128745. Please follow that issue for updates. |
Issue Type: Bug
Hello,
there has been introduced a bug with version 1.58.0 (still available in 1.58.2) in handling multiple open vscode windows.
I try to open a new window from the current one via main menu.
The window opens, but it stays completely empty.
It seems it doesn't react to keyboard short cuts and also not handling menu events. So I can show the main menu, and also open the main menu, but e.g. clicking "Open a file" doesn't show the dialog. Also "Help -> About" doesn't show a dialog. Pressing the short cut keys also doesn't show any reaction.
Closing the vs code window works only with window manager Alt+F4 and not the main menu.
If I start a new vs code instance there doesn't seem to be a problem with the additional window. So the problem is only when opening a new window from an existing one with the File menu -> New Window.
Edit:
The source of the problem seems to be the existing (old) window. I've just tried to open a different workspace in the new vscode instance, and then the window of the new instance becomes empty, although it showed already a workspace after opening.
Closing the 1st window and starting 2 fresh vscode instances the windows work. But I had this empty window behavior already multiple times. Not sure how to reproduce it always.
VS Code version: Code 1.58.2 (c3f1263, 2021-07-14T22:30:16.440Z)
OS version: Linux x64 5.3.18-lp152.81-default
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (6)
The text was updated successfully, but these errors were encountered: