microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.27k stars 28.56k forks source link

Source Control can not detect changes #201183

Closed nguyenngocchaugv closed 8 months ago

nguyenngocchaugv commented 8 months ago

Type: Bug

The version 1.85 is having an bug related to Source Control. The source control Icon in the left side bar is showing the number 10 otherwise when I click on the Icon, the file changes is not being shown in the list

VS Code version: Code 1.85.0 (af28b32d7e553898b2a91af498b1fb666fdebe0c, 2023-12-06T20:48:09.019Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 PRO 4750U with Radeon Graphics (16 x 1697)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|63.37GB (38.63GB free)| |Process Argv|--crash-reporter-id e7694021-ac65-42f3-9890-84e6bcd48272| |Screen Reader|no| |VM|0%|
Extensions (31) Extension|Author (truncated)|Version ---|---|--- ng-template|Ang|17.0.3 jsoncrack-vscode|Ayk|2.0.2 vscode-tailwindcss|bra|0.10.3 multi-cursor-case-preserve|Car|1.0.5 dart-code|Dar|3.78.2 flutter|Dar|3.78.0 vscode-eslint|dba|2.4.2 gitlens|eam|14.6.1 vsc-material-theme|Equ|34.3.1 vsc-material-theme-icons|equ|3.3.1 copilot|Git|1.143.0 copilot-chat|Git|0.11.1 vscode-drawio|hed|1.6.6 Angular2|joh|16.0.1 vscode-gutter-preview|kis|0.30.0 template-string-converter|meg|0.6.1 git-graph|mhu|1.30.0 vscode-docker|ms-|1.28.0 csharp|ms-|2.14.8 vscode-dotnet-runtime|ms-|2.0.0 live-server|ms-|0.4.13 powershell|ms-|2023.8.0 vscode-typescript-next|ms-|5.4.20231218 color-highlight|nau|2.5.0 fix-json|oli|0.1.2 material-icon-theme|PKi|4.32.0 vscode-thunder-client|ran|2.16.3 vscode-odata|sta|0.1.0 code-spell-checker|str|3.0.1 vscode-import-cost|wix|3.3.0 JavaScriptSnippets|xab|1.8.0 (3 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 py29gd2263:30899288 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 azure-dev_surveyone:30548225 282f8724:30602487 89544117:30613380 a9j8j154:30646983 showlangstatbar:30737416 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 welcomedialogc:30910334 pythonnosmt12:30797651 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 dsvsc013:30795093 dsvsc014:30804076 dsvsc015:30845448 pythontestfixt:30902429 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 aa_t_chat:30882232 dsvsc019cf:30917260 cp7184t:30925682 ```
VSCodeTriageBot commented 8 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.85.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

lszomoru commented 8 months ago

Today's VS Code Insiders release contains some improvements around error handling, as well as additional logging. Could anyone on this issue download the latest Insiders release and see if they are still able to reproduce the issue where in the Source Control tree is not updating as expected:

Version: 1.86.0-insider (Universal)
Commit: a017b12b9caa3475675cfe6fda014fcf5af388c9
Date: 2023-12-19T05:38:28.077Z
Electron: 27.1.3
ElectronBuildId: 25612240
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin arm64 23.1.0 
ButA1 commented 8 months ago

I tried the insider build and unfortunately the issue still persists.

Version: 1.86.0-insider (user setup)
Commit: 9621add46007f7a1ab37d1fce9bcdcecca62aeb0
Date: 2023-12-20T05:36:57.756Z
Electron: 27.1.3
ElectronBuildId: 25612240
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.19045
lszomoru commented 8 months ago

@ButA1 /gifPlease

VSCodeTriageBot commented 8 months ago

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.

If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.

Happy coding!

VSCodeTriageBot commented 8 months ago

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!