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
VSCode hangs when switching between local login and remote desktop login #167556
Comments
same problem for a long time |
same here, but not for a long time. started to happen after most recent win11 upgrade. chrome actually had the same problem, but that one is fixed now. vscode isnt, sadly. |
Similar here |
same issue. |
very annoying |
In my case, if you wait 1-2 minutes it eventually comes back. |
weird. started the profiler through the developer tools, disconnected RDP, reconnected, waited couple mins for vscode to unfreeze, and stopped the profiler. Nothing stood out to me as "stuck" or taking a long time from the gpu or main.js thread. |
For context, this is not unique to vscode for me. The Slack desktop app (pretty sure is also web/browser based) exhibits similar behavior. |
@yo1dog That seems to point to an issue with electron or browserview then. |
I've seen this with Google Chrome too. VS Code, and Windows Terminal. For Windows Terminal I've tried their Preview and it uses different rending logic apparently. Team indicate some issues with NVIDIA -- but that has done better in haven't seen freezes. Edge surprisingly "recovers" after a bit; where as Google Chrome never does. VS Code I've affected the experimental terminal GPU rendering flag to "canvas" for now to see if that helps. This seems like a Windows/NVIDIA driver issue on desktop resizing. So, kinda seems Chromium based. |
I have a AMD card so that throws the nvidia issue out -- but could still be chromium/windows related 🤔 |
I am seeing similar behaviour as @cicorias Windows Terminal will freeze completely. Their main issue for this is microsoft/terminal#12607 -- I have disabled hardware rendering for Terminal, and it seems to help. My VSCode is also frozen when I re-attach, either via RDP, or at the machine in question, but indeed it ofter recovers after a few minutes, sometimes asking to reconnect. (I use WSL) For now I have added So far, my Edge has not yet been able to recover, but I have never been able to wait long enough. I have an nvidia in this machine. |
The trouble still exists for me.
Windows OS Build: |
same issue. has long time. VS Code Version: 1.81.1 |
same issue. i always restart vscode, slack and the other apps based electron when i face this
|
I think this has something to do with Chromium, because I also have this problem when using the remote Edge browser. |
same issue |
My solution
Problem solving! |
Wow thanks, your workaround is a life saver, it works not only for VSCode but also for the frozen Edge, Teams, Chrome, etc... |
This works for me, it's not the first time that Microsoft keyboard yields a major issue. |
same issue here 版本: 1.83.1 (user setup) My issue more specifically is whenever I login again after a remote session, the terminal stop working as every time I try to type something it stuck |
It's been a year, is anyone reporting this to chromium upstream? Anyway to track the upstream fix? |
same issue |
Yes, I have seen this issue for more than one year when remote desktop to my office PC running VSC or Edge browser. I had to restart VSC or Edge when I hit this nasty issue every time. Windows 11 22H2 (22621.2248) |
I tried to kill ChsIME.exe and then the problem got solved too. |
this issue make me unhappy a lot,i can not solve by my self ,if have some solution about this, call back me ,thankyou |
I started a Chromium Issue, vote and comment if you are interested: https://bugs.chromium.org/p/chromium/issues/detail?id=1514402 I'm not sure if it duplicates, but the bug exists for years so I guess not. 😂 |
Now, the EDGE has the same problem! |
Maybe this just happened in the China Language Env? |
Some hint: Prevent using Microsoft's IME ( like Microsoft Pinyin/Wubi , Japanese ...). Using third-party IME instead helps on this issue. |
It seems to not work after windows 11, version 23h2 update. |
The simplest solution is:
|
windows 11, version 23h2 update
in windows 11, version 23h2 update. summary
google tranlation
couldn't find any official microsoft documentation. |
it works! thank you so much! |
This should fix (at least partially) once VSCode upgrade to a electron version that based on Chromium 124.0.6367.0 |
Struggle same issue now. This should be fixed. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
VSCode will resize the outermost frame of the window, but will leave Explorer and code windows smaller, and will be unresponsive to mouse or keyboard input. After about 15 seconds, you'll get a popup that says:
"The window is not responding. You can reopen or close the window or keep waiting"
If you choose "Reopen", a new instance of VSCode will launch and will work fine. If you Keep Waiting, it will never come back.
The text was updated successfully, but these errors were encountered: