ghisler(Author) wrote: 2024-10-24, 09:16 UTC
I have checked my code - the delete function explicitly checks for the MouseActions registry value, and doesn't show a confirmation if it's set, so this seems to be intentional. I'm sure that a lot of people would complain if I changed it now.
I don't think it was intentional. The Windows confirmation is shown when moving to recycle bin (so when the files are not lost), but not when deleting files directly. Perhaps you intended to bypass the confirmation when moving to recycle bin, but now it is the other way around which does not make sense.
You were always very careful with deletions. You did not allow for no confirmation before deletion. But since TC 9 there is a dangerous situation. The configuration option "Drag&Drop (copying file with mouse)" does not mention deletion by dropping on the F8 button. There is a high chance that people are totally unaware that someone bumping into them or a cat doing something unexpected while the person is dragging a bunch of files around may end up in losing the files. Or that while meaning to drag files outside of the TC window, twitching of the finger muscles or a faulty mouse can result in directly deleting files without confirmation. It can cause a lot of confusion when people don't understand why their files are suddenly gone.
I had also checked the HISTORY.TXT file and I noticed there were several technical improvements made to the delete function. But, nothing about intentionally suppressing the Windows confirmation when deleting files directly. You would think you would have added something to HISTORY.TXT about it. It also does not make sense that you would have implemented this while not making this optional. And it doesn't make sense that you wouldn't have changed the text of the option to also mention deletion and that you wouldn't have added something about it to the help page.
Now people should be made aware of this. Perhaps you can change it so the Windows confirmation is suppressed when files are moved to recycle bin and not when they are deleted directly. And if you want to build in support for the people who gotten used to be able to delete files directly without confirmation, you could add an ini option for explicitly allowing that.