Handle or disable the delete keyboard key on windows when inside canvas files.
Change the focus from the file explorer into the canvas card object when a card inside a canvas file is selected?
Current workaround (optional)
I’m too used to deleting things by selecting them and pressing DELETE.
So I have deleted by accident my canvas file more times than I care to admit. Luckily Sync deleted files option is there to save the day, but I would love it for canvas files to not be so easy to delete, specially when some of them have a lot of work inside
This is not default behaviour on v.1.1.16. Everything works as expected in my vault. The only time I’m asked if I really want to delete a file is if I selected it in the File Explorer and did not focus on the Canvas, which is the behaviour I would expect. If I select a card, DELETE will delete only that card.
I see that you are an Insider so maybe this bug has come up with one of those releases, but in any case it would help if you post your Debug Info. Also, see if it happens in the Sandbox Vault, maybe one of your Plugins is interfering.
You can open the Sandbox Vault through the Help Menu.
The Help Menu can be reached in three ways. It can be opened by clicking on the ? on the left ribbon / clicking F1 / or by using the command palette Ctrl/Cmnd + P -> Open help.
I tried to reproduce on the sandbox vault and couldn’t, which I am guessing means some of my plugins are causing this issue.
Thanks for pointing me in this direction, now I can investigate which plugin it is