Bug on delete confirmation

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
aubrey97
Posts: 56
Joined: 22 Jun 2013 11:27

Re: Bug on delete confirmation

Post by aubrey97 »

OK -- will try to find the Win 8 setting - but that makes it even more important to make delete key delete only one file or folder, and to make the setting that moves to the next file or folder after delete much more explicit (or perhaps remove that option altogether).

Bear in mine that some folk may be using XYPlorer portably. If they happen to go to a system which has Win 8 defaults, then a simple press of the delete key (perhaps by mistake or fat-finger syndrome) could delete dozens of entire folders in just a second or so.

Having just tried Windows 8 explorer - it does indeed delete the file without confirmation, but it deletes only ONE file, or one whole folder (ie operates as XYPlorer does with the movetonextitem unchecked).

admin
Site Admin
Posts: 67284
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug on delete confirmation

Post by admin »

Well, but it's a bit theoretical (I never had a report of this happening). And there is always the recycle bin. Don't tell me you turned that off as well -- then I cannot help you.

aubrey97
Posts: 56
Joined: 22 Jun 2013 11:27

Re: Bug on delete confirmation

Post by aubrey97 »

Not sure why it's theoretical -- that is what actually happens all the time.

admin
Site Admin
Posts: 67284
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug on delete confirmation

Post by admin »

:veryconfused: Well, it never happened to me once in my whole computer life, and I never heard about this being a problem. Otherwise Microsoft would have made the DEL key trigger on mouse up as well.

aubrey97
Posts: 56
Joined: 22 Jun 2013 11:27

Re: Bug on delete confirmation

Post by aubrey97 »

Yes, but Microsoft don't have a setting which says move onto the next item and delete that too, and the next one and the next and all the rest of your folders.

Must say, you write great software, but your manner is not great, and that really lets you down big time - I won't bother reporting serious usability problems in future - and this is a pretty serious one.

You don't want to explain to users in the settings what they do - fine. Any user who happens to be using Windows 8 at its default settings, and who happens to using XYPlorer with file deletion set to apparently warn them, and who has the apparently benign setting to highlight the next file after an operation will be at huge risk of inadvertent mass file deletion (and will experience such events - as I have, and as you fully acknowledge will happen). But what the heck.

Nighted
Posts: 463
Joined: 21 Jan 2007 01:58
Location: Gitmo Nation North, Win 7/10/Linux/(x64)

Re: Bug on delete confirmation

Post by Nighted »

Delete keys don't delete files, people delete files.
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.

aubrey97
Posts: 56
Joined: 22 Jun 2013 11:27

Re: Bug on delete confirmation

Post by aubrey97 »

Ha ha - that's funny

admin
Site Admin
Posts: 67284
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug on delete confirmation

Post by admin »

English question:

Current wording:
Configuration | File Operations | Miscellaneous | Turn off delete confirmation

Would this wording be okay and would it imply less strongly than the above one that keeping it unticked would guarantee that there is a delete confirmation prompt (which is a false implication)?
Configuration | File Operations | Miscellaneous | Suppress the delete confirmation prompt

Or even this one?
Configuration | File Operations | Miscellaneous | Suppress the shell's delete confirmation prompt

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Bug on delete confirmation

Post by Filehero »

admin wrote:Or even this one?
Configuration | File Operations | Miscellaneous | Suppress the shell's delete confirmation prompt
Supress MS Windows' delete confirmation prompt?

I'm sure, not every XY user is familiar with terms like shell etc.


Cheers,
Filehero

admin
Site Admin
Posts: 67284
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug on delete confirmation

Post by admin »

OK, agreed.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Bug on delete confirmation

Post by TheQwerty »

admin wrote:
TheQwerty wrote:I do not think it is wise for XY to treat delete being held down as more than a single delete request.
Maybe it should only trigger on key-up?
Good idea, though unusual. Explorer uses key-down. Needs thought. I make a note.
It doesn't necessarily have to be key-up that triggers the action - that's just the quickest way to express the idea.

It would be just as easy to have key-down trigger the action but wrap it in a conditional that ensures there was a key-up between triggers.

admin
Site Admin
Posts: 67284
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug on delete confirmation

Post by admin »

TheQwerty wrote:
admin wrote:
TheQwerty wrote:I do not think it is wise for XY to treat delete being held down as more than a single delete request.
Maybe it should only trigger on key-up?
Good idea, though unusual. Explorer uses key-down. Needs thought. I make a note.
It doesn't necessarily have to be key-up that triggers the action - that's just the quickest way to express the idea.

It would be just as easy to have key-down trigger the action but wrap it in a conditional that ensures there was a key-up between triggers.
That's more difficult/unsafe than you might think because sometimes in Windows keyup events are eaten by popup windows.

While I still think that no action here is really necessary, I might slightly modify the wording of the checkbox. BTW, whoever is responsible for changing the defaults here in Windows 8 -- I just hope that he does not work in computers anymore.

aubrey97
Posts: 56
Joined: 22 Jun 2013 11:27

Re: Bug on delete confirmation

Post by aubrey97 »

Supress MS Windows' delete confirmation prompt
The above sounds reasonable to me.

More importantly in the tree menu
"Select next item after delete and move"

must be off by default
and should carry some warning
-- maybe something warning users against selecting this option in most circumstances -- in much the same way as the pop-up warning that appears under "Turn off delete confirmation"
(this is a much more dangerous setting, and as we know in Windows 8 the Turn of delete confirmation will have no effect one way or the other anyway for most people)

Without the latter setting the problem does not arise, so it would not be necessary to restrict deletes to just one effective keypress anyway.

Post Reply