Setting "Explorer: Incremental Naming" to disabled
and dragging a file to duplicate causes VSCode to hang / crash.
#165235
Labels
bug
Issue identified by VS Code Team member as probable bug
file-explorer
Explorer widget issues
freeze-slow-crash-leak
VS Code crashing, performance, freeze and memory leak issues
insiders-released
Patch has been released in VS Code Insiders
verified
Verification succeeded
Milestone
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
disabled
.[ Control ]
key (to copy a file instead of moving) and drag a file to the same directory.Actual result:
VSCode hangs until I am presented the "This window is not responding" dialg. Clicking
[ Reopen ]
has the same effect as[ Close ]
.Expected result:
I am telling VSCode to duplicate a file, while I have taken away its algorithm to automatically create new file names. Therefore I might expect VSCode to show a dialog with a text input. The text input would contain the file's current name, which I can alter. Confirming the dialog would copy the file using the new name. Or something to this effect.
But maybe that solution is trying to counter a symptom rather than solving the root of the problem. Because how would should VSCode respond when drag-copying multiple files? Maybe the root of the problem is the ability to set "Explorer: Incremental Naming" to
disabled
in the first place. Maybe VSCode must always have a 'duplicate file naming algorithm' in order to function? Even if it is asimple
one. Removingdisabled
and using thesimple
algorithm as a bare minimum would surely fix the problem.Addendum: The description of
disabled
states the user "will be prompted to override the existing file". So this might be the expected / intended result.The text was updated successfully, but these errors were encountered: