Skip to content
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

Deleting files from explorer very slow (taking minutes) #229528

Open
haswalt opened this issue Sep 24, 2024 · 10 comments
Open

Deleting files from explorer very slow (taking minutes) #229528

haswalt opened this issue Sep 24, 2024 · 10 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@haswalt
Copy link

haswalt commented Sep 24, 2024

Type: Bug

Issue troubleshooting has identified that the issue is with Visual Studio Code.

  1. Disable all extensions
  2. Open single folder or multi-folder workspace
  3. Delete file via explorer
  4. See that delete task takes several minutes.

VS Code version: Code 1.93.1 (38c31bc, 2024-09-11T17:20:05.685Z)
OS version: Darwin arm64 23.6.0
Modes:

System Info
Item Value
CPUs Apple M1 Max (10 x 2400)
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 5, 6, 5
Memory (System) 64.00GB (9.32GB free)
Process Argv --crash-reporter-id 13a1dd13-9f55-4966-997f-c7b4071d6216 --inspect-extensions=55939 --crash-reporter-id 13a1dd13-9f55-4966-997f-c7b4071d6216
Screen Reader no
VM 0%
Extensions: none
@lramos15
Copy link
Member

Do you see any indication of why the delete is taking awhile? Is the file locked by another process? A screen recording may be helpful. Also try deleting from the terminal

@lramos15 lramos15 added the info-needed Issue requires more information from poster label Sep 24, 2024
@haswalt
Copy link
Author

haswalt commented Sep 24, 2024

I can delete from the VSCode terminal, OS terminal and from Finder without any delay.

Deleting from the Explorer causes delay with no obvious process interrupting the deleting itself. I've tested with as many things disabled as possible on the machine.

@lramos15
Copy link
Member

Can you try F1 -> Reload with Extension Disabled

@haswalt
Copy link
Author

haswalt commented Sep 25, 2024

I did that already, see my steps above.

I also run through the troubleshooter which disabled extensions.

@lramos15
Copy link
Member

Sorry for the repetitive questioning @haswalt just trying to think about what may be happening here.

Are you able to repro in VS Code insiders? https://code.visualstudio.com/insiders/

@haswalt
Copy link
Author

haswalt commented Sep 25, 2024

Downloading and trying insider build now

@haswalt
Copy link
Author

haswalt commented Sep 25, 2024

Same behaviour when using an insiders build (Apple silicon)

@lramos15
Copy link
Member

Is it a specific file that you're trying to delete? How large is it? Or is it just all files are very slow to delete even if they're a small text file.

@haswalt
Copy link
Author

haswalt commented Sep 25, 2024

Any file, i'm testing with various files within several directories. Some small, some larger. Mixture of code and plain text files.

@bpasero
Copy link
Member

bpasero commented Sep 25, 2024

Please see if you can find any logged output that could help us find the source of the issue:

  • run code --verbose from the command line
  • reproduce the issue
  • attach the log files you find from running the command "Open Logs Folder"

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants