You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have copy and moves regular files but not folders, nor binary files. That is tracked in #41543 @bpasero what exactly are you copying and what is the error?
ok, understood. @bpasero is the IFileService contract that it should signal the existence of the destination? I was assuming that the command/action makes sure everything is prepared correctly and then call the service with override set accordingly. Is the expectation that the service shows the prompt?
@jrieken contract would be that the file service signals this fact via FILE_MOVE_CONFLICT which will bring up the dialog (in the explorer from the DND operation). And then if confirmed, moveFile or copyFile with overwrite: true is called.
This now works for move, for copy I seem to always get a different name from the action anyways, e.g. foo.1.ts instead of foo.ts. That seams to be the standard behaviour and nothing special to remote resources. Important is that this requires the file system provider to behave correctly, e.g it must throw FileExist-errors when creating a file with the overwrite option.
Refs: #48421
Setup:
datei://
Steps
=> an unknown error shows up
=> I would expect the typical dialog we have that asks to overwrite the target
The text was updated successfully, but these errors were encountered: