-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Brackets will let you delete files that have unsaved changes #8610
Comments
I am seeing a double animation of the prompt modal dialog, but only 1 prompt. Immediately deleting file with unsaved changes from disk (and prompting user what to do with unsaved changes) is the current design. Same as if you delete a file without unsaved changes -- it's deleted immediately with no prompt. This is because you can retrieve file from Recycle Bin. |
Note I am seeing double animation/prompt in Release 0.41, so this is not a recent injection. |
Reivewed - low priority. There's no data loss, but we could make the prompt clearer with a more specific prompt dialog that pops up before the delete. This is also very similar to #4760, so we might want to consider a unified solution for both. |
The double prompt/animation issue also reported in #7605 |
I recently deleted two html files from Brackets and it does not appears on the Recycle Bin. I did not have emptying the Trash. Running Windows 10 x64 bits. |
Create a new project
Create a file and name it "test.js"
make some changes to the file but don't save it
rename it "test.txt" (dirty indicator still says dirty)
right click on the file in the file tree and choose "delete"
double prompt.
The first prompt says the file has been deleted on disk (keep changes in memory or discard)
We should not tell the OS to delete a file that has unsaved changes. in the editor without first prompting the user to discard the changes.
The text was updated successfully, but these errors were encountered: