-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
opening folder with "code --reuse-window ." command effects all open windows #121926
Comments
This seems specific to remote when I see the details in the issue. |
When asking a co-worker to try reproduce they didn't see the issue, they were not using remote. So yes this might be an issue when using remote. |
I can reproduce.
Looks like a regression introduced by the refactoring to make the terminal process a child of server process. Each terminal process runs a CLI server that is used by the |
@Tyriar @meganrogge I think this was working correctly in the past with the server spawned terminals, but it was introduced by a more recent refactoring |
Yes, this is recent issue, as my usual workflow has been to move to the project in the integrated terminal and use |
It's a bug.
|
Still not fixed. I found it have been moved to Backlog, It's a bug which broken -r option, When it will be fixed? |
I'm having a similar issue with my git config editor (
I also suspect #131731 is related @meganrogge since it looks you're assigned to both this and that issue |
yup, same here, I'm still using the old version 1.56.2 due to this issue |
I have been able to temporarily fix this issue by starting up VSCode with extensions disabled. It works when disabled, it works immediately after enabling them again, and works for a days after still. Then randomly stops. Not had enough experiences with the "workaround" to detect a pattern yet. Happy to help isolate this issue if someone wants to reach out to me |
Came here from issue #5930. Since that issue is closed and it seems related, I figured I'd update here: in the hopes that this helps narrow it down a little. Breakdown:
I've set up a repository with a test case: https://github.com/TyIsI/vscode-portforward-quirk And even more peculiar, this triggers existing port forwards to open as tabs (9 in total - 6 from my main project and 3 from the above test). Version:
Let me know if you need me to create a separate issue. |
@Tyriar @meganrogge the result is N windows on the same workspace identifier, which is something that could result in all sorts of issues and is generally unsupported in VSCode. Marking this important for the current milestone. |
I believe this started happening when we introduced the pty host as the message gets broadcast to all windows: vscode/src/vs/workbench/contrib/terminal/browser/remoteTerminalBackend.ts Lines 94 to 108 in 1ecc2a8
But we don't check the pty exists unlike other calls like this:
It does not repro in the test resolver because each window gets its own server and pty host. Debt item here would fix this: #133895 |
Created a PR for this #158635, couldn't test it in Code - OSS though so we'll need to verify when it gets released. |
Thanks!! |
Issue Type: Bug
project1
in vscodeproject2
in vscodecode --reuse-window ../project3
Expected behaviour:
Window that was
project2
should now haveproject3
open.Actual Result:
All vscode windows change to have
project3
open.Possibly related to #118718
VS Code version: Code 1.55.2 (3c4e3df, 2021-04-13T09:35:57.887Z)
OS version: Windows_NT x64 10.0.19042
Remote OS version: Linux x64 5.4.0-48-generic
Remote OS version: Linux x64 5.4.0-48-generic
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (28)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: