-
Notifications
You must be signed in to change notification settings - Fork 28k
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
Source Control tab auto refresh changes broken #149231
Comments
@TouqeerH, I see that you are using VS Code with WSL. Are you opening a folder/workspace that is hosted on the Windows file system (ex: /mnt/...) or a folder/workspace that is hosted on the Linux file system. As of right now, there is a known issue with WSL where file system event for files hosted on the Windows file system are not being delivered which the SCM viewlet relies on. Until the WSL team addresses this issue, the only workaround is to either store the files on the Linux file system, or to manually hit the refresh button. |
I am seeing this bug intermittently as well VS Code version: Code 1.71.0 (784b017, 2022-09-01T07:25:38.437Z) System Info
Extensions (90)
(1 theme extensions excluded) A/B Experiments
|
@pokey, could you also please answer this question? Thanks! |
I'm on a Mac, so I don't think that question applies to me, unless I'm misunderstanding? |
@pokey, in case you are able to reproduce it would be great to create a recording (https://gifcap.dev) to investigate further. |
To be honest, I'm not seeing this much anymore. Maybe @TouqeerH is able to reproduce it reliably? |
This issue seems to have reappeared after I got a new MacBook. It does not happen consistently, and switching applications does seem to trigger a refresh. Which makes it impossible to record a GIF, unfortunately, because when I switch to my GIF recorder and back to VSCode it will have refreshed I don't seem to be able to reopen this issue |
@pokey, I went ahead and re-opened the issue for you, but in order for me to investigate the issue it would be great if you could narrow down a set of steps that you can use to reproduce the issue. Then, we can collect some additional information order to try to track down the root cause. Thanks! |
Thank you. So far I haven't been able to identify a consistently reproducible case; seems to be pretty intermittent. I'll try my best to come up with something though |
It seems to be happening fairly consistently right now. Is there some specific info I can provide to help you debug this one? Fwiw if I focus another application and then focus VSCode again, it refreshes |
@pokey, apologies for not getting back to you on this. Assuming that you are still able to reproduce this issue consistently you can enable |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Here is the requested information. In the following, I deleted a character and then saved a file, and the git view still displayed no changed files. Here was the requested output during that time: Debug console
Git output panel
It would be great if you could reopen this issue. Thank you for your help |
@lszomoru any update on this one? |
@pokey, apologies for not getting back to you on this until now. From the data that you have shared it seems that the file-system even has fired by VS Code, and it has reached the git extension (last line). I just looked at the code and noticed that the "Source Control" view will not automatically refresh if you have the |
Closing this issue due to inactivity. |
Issue Type: Bug
Source control changes are not auto updating.
I have to press Refresh icon for them to update.
VS Code version: Code 1.67.0 (57fd6d0, 2022-05-04T12:06:02.889Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (33)
(4 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: