DWC: Allow File Overwrite During Move
-
It would be super helpful if when trying to move a file via drag and drop, and a duplicate file name already exists in that location, if the user could be prompted to allow the file to be overwritten.
-
@CCS86 I strongly disagree, too easy to accidentally overwrite what I don't want to. This safeguard saved my bacon already a couple times.
-
@oliof said in DWC: Allow File Overwrite During Move:
@CCS86 I strongly disagree, too easy to accidentally overwrite what I don't want to. This safeguard saved my bacon already a couple times.
Did you misread my request?
I didn't suggest that it automatically overwrite files. The user should be prompted to overwrite or cancel, just like any modern operating system.
The current behavior:
- Try to drag a file to a folder
- Get error message
- Close error message
- Navigate to the folder
- Find the exact file in question
- Select and delete the file
- Navigate back
- Drag the file once more
This is so wasteful compared to "A matching file already exists in this location, would you like to overwrite or cancel?"
-
Overwrite is a destructive action. Maybe an option to rename either the existing or new file. If you want to delete one or the other later that's a separate action you can take later.
-
@Phaedrux said in DWC: Allow File Overwrite During Move:
Overwrite is a destructive action. Maybe an option to rename either the existing or new file. If you want to delete one or the other later that's a separate action you can take later.
So is <right-click> <delete>
So is uploading a new gcode file that already exists, via your slicer. It just gets overwritten without confirmation.
As long as there is a confirmation dialog, I'm not sure why it is a concern for you guys.
I just can't think of a case where you have two files, identically named, and you try to move one to the location of the other, are then prompted with a dialog to overwrite/rename/cancel, and you choose overwrite by mistake and it's a big deal. It seems more likely that you right-click, delete, then confirm by mistake.
If it truly is a big deal for some, maybe a checkbox option in the DWC settings to allow this new behavior.
Just renaming automatically and having to manually come back through and delete the duplicates, isn't an improvement really. It's still too many steps for a simple action.
-
@CCS86 I've logged this at https://github.com/Duet3D/DuetWebControl/issues/472. It would just require a prompt if the first move attempt fails.
-
@chrishamm said in DWC: Allow File Overwrite During Move:
@CCS86 I've logged this at https://github.com/Duet3D/DuetWebControl/issues/472. It would just require a prompt if the first move attempt fails.
Awesome, thank you!