vscodenpa / testissues

Clone of the vscode issue stream.
43 stars 23 forks source link

Deletion of File when Renaming File #571

Open vscodenpa opened 2 years ago

vscodenpa commented 2 years ago

Issue Type: Bug

  1. Create an empty directory using Window File Explorer.
  2. Launch VS Code on the created directory.
  3. In VS Code Explorer create a text file named "foobar.txt".
  4. In VS Code add some content to the text file.
  5. In VS Code save the text file.
  6. In Windows File Explorer open the text file with Windows Notepad to verify it's really there and has the content you added.
  7. In VS Code Explorer rename the text file to "FooBar.txt".
  8. Poof your text file has been deleted rather than being renamed.

Error: ENOENT: no such file or directory, rename '...\foobar.txt' -> '...\FooBar.txt'

This should be a high priority fix due to data loss.

VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:15:52.058Z) OS version: Windows_NT x64 10.0.19044 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10700 CPU - 2.90GHz (16 x 2904)| |GPU Status|2d_canvas: enabled
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| |Load (avg)|undefined| |Memory (System)|31.74GB (20.01GB free)| |Process Argv| --crash-reporter-id 73cd0d11-ee50-4449-98fd-87da60c458d0| |Screen Reader|no| |VM|0%|
Extensions (33) Extension|Author (truncated)|Version ---|---|--- vscode-sqlite|ale|0.14.0 es6-string-css|bas|0.1.0 markdown-mermaid|bie|1.14.0 insert-unicode|bru|0.13.3 vscode-standardjs-snippets|cap|0.9.0 excel-to-markdown-table|csh|1.3.0 vscode-markdownlint|Dav|0.47.0 vscode-eslint|dba|2.2.2 xml|Dot|2.5.1 vscode-pandoc|Dou|0.0.8 gc-excelviewer|Gra|4.2.54 vscode-guid|hea|1.4.20 rest-client|hum|0.24.6 plantuml|jeb|2.17.2 vscode-insertdatestring|jsy|2.3.1 marp-vscode|mar|1.5.2 rainbow-csv|mec|2.4.0 vscode-language-babel|mgm|0.0.36 vscode-html-format|moh|0.0.4 remote-containers|ms-|0.234.0 remote-wsl|ms-|0.66.3 cpptools|ms-|1.9.8 vetur|oct|0.35.0 vscode-print|pdc|0.9.14 vscode-powerquery|Pow|0.1.32 lit-plugin|run|1.2.4 markdown-preview-enhanced|shd|0.6.3 vscode-standard|sta|2.1.0 code-spell-checker|str|2.2.0 pdf|tom|1.2.0 literally-html|web|0.1.3 markdown-pdf|yza|1.4.4 cursorCharCode|zei|0.2.0
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyl392:30443607 pythontb:30283811 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 pythonvsnew555:30457759 vscscmwlcmt:30465135 cppdebug:30492333 vsclangdf:30486550 ```
vscodenpa commented 2 years ago

confidence for label file-explorer: 0.8. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee lramos15: 0.6. does not meet threshold

vscodenpa commented 2 years ago

confidence for label file-explorer: 0.8. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee lramos15: 0.6. does not meet threshold

vscodenpa commented 2 years ago

confidence for label file-explorer: 0.8. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee lramos15: 0.6. does not meet threshold

vscodenpa commented 2 years ago

confidence for label file-explorer: 0.8. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee lramos15: 0.6. does not meet threshold

vscodenpa commented 2 years ago

confidence for label file-explorer: 0.8. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee lramos15: 0.6. does not meet threshold