The “Delete file” dialog has 3 buttons.
The most dangerous button is the first, and it is also the biggest and bright red (attracts interest).
The distracted user likely clicks on it quickly and inadvertently.
Expected result
A dialog box with a checkbox to remember the user’s choice to delete anyways (that changes the setting), a Cancel and a Delete button.
[Cancel] [Delete]
do not ask again
This way, the user has to perform 2 operations in order to make the dialog disappear.
External link on bad confirmation dialogs:
(on the plus side, nobody does Captchas to delete files yet )
Wanted to +1 this. Would be great if when you select “Delete” the confirmation dialog appears, and the Delete button is active, so I can hit “Enter” or “Return” to delete the file.
The Cancel button should be secondary and accessible by tabbing.
The “Do not ask again” could be a checkbox that is always there and it’s checked or not based on how you’ve set the setting.
It is very annoying behaviour currently. Each time I delete file, I just want to see the confirmation and hit Enter to confirm the operation. But if I do so, the settings just changes and I don’t have confirmations any more.
UPD: For those struggling as me, I’m now using a CSS-snippet, which I’ve added in Appearance settings:
This removes that first button, and if you just hit Enter, nothing happens - which might even be better than instant confirmation. Instead to confirm first press Tab twice - and then Enter.
WARNING: This will probably break other confirmation popups as well.
Hello, sorry for bumping an old thread but I was just create a topic with exactly same concerns with previous posters. Was a bit curious whether if it was me only but turns out it wasn’t
just downloaded Obsidian, looks pretty promising so far!
Hey,
One more +1.
I had exactly the same issues and Google brings me here.
This “Delete and don’t ask again” button makes me change my settings and then I deleted some files by mistake without the confirmation prompt.
Couldn’t find a section called “Design” so thought this would fit within bug reports best, feel free to move elsewhere if you feel it does not belong here:
I have recently started using Obsidian and I happen to be specializing in UI/UX design. I have bumped into one dialog that bothered me and I’d like to propose an alternative UI solution for it.
Currently, the delete file confirmation dialog defaults to “delete and don’t ask again”. So, if I just hit return, it turns off the confirmation. I think that is the wrong behavior. The default should be just to delete the file without turning off the confirmation. As it is now written, I have to explicitly hit delete (avoiding the button that says “don’t ask again”) every time I delete a file. This is true even though I don’t ever want to turn off the confirmation. People who want the confirmation off currently, just hit return. They no longer see the dialog at all. This seems backwards for minimizing moving your hands off the keyboard.
Is there a way to get the pop–up back? I accidentally clicked “Delete and don’t ask again” and now I’m afraid of losing my files if I get distracted again.
We strongly recommend you to search the forum with possible keywords before making a new feature request. If your request is very similar to an existing one, consider liking it and/or making a comment rather than making a new one. Once you’ve searched and determined that this is a new request, delete this line.
Use case or problem
I always use the ‘confirm to delete’ option in my vault. I don’t want the ‘Delete and don’t ask again’ button, so I can stop clicking it by mistake. (I use the keyboard a lot)
Proposed solution
Make it optional, or at least provide a selector to hide It with a CSS snippet
I would also like this; I like to keep this dialog as a safeguard against unintentional deletes. I think a better default would be to include a checkbox to not show again, which seems more common in a lot of other software.
We strongly recommend you to search the forum with possible keywords before making a new feature request. If your request is very similar to an existing one, consider liking it and/or making a comment rather than making a new one. Once you’ve searched and determined that this is a new request, delete this line.
Use case or problem
I always use the ‘confirm to delete’ option in my vault. I don’t want the ‘Delete and don’t ask again’ button, so I can stop clicking it by mistake. (I use the keyboard a lot)
Proposed solution
Make it optional, or at least provide a selector to hide It with a CSS snippet