"confirm file delete" doesn't

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, helmut, xnview

Post Reply
obelisk
Posts: 464
Joined: Fri Jan 09, 2009 9:54 am

"confirm file delete" doesn't

Post by obelisk »

"confirm file delete" doesn't at all
I'm using recycle bin
doesn't help on network drives though
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "confirm file delete" doesn't

Post by xnview »

the settings of windows recycle bin is confirm too?
Pierre.
obelisk
Posts: 464
Joined: Fri Jan 09, 2009 9:54 am

Re: "confirm file delete" doesn't

Post by obelisk »

No windows isn't.
Shouldn't rely on windows recycle bin confirm
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "confirm file delete" doesn't

Post by xnview »

obelisk wrote:No windows isn't.
Shouldn't rely on windows recycle bin confirm
i use the API of windows, so this setting (it's a change in windows since 7)
Pierre.
obelisk
Posts: 464
Joined: Fri Jan 09, 2009 9:54 am

Re: "confirm file delete" doesn't

Post by obelisk »

No, you shouldn't use API for windows.

To use API for windows the option name should be "use recycle bin options" - but no software does this.

"confirm file delete" suggests it's a local option.
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "confirm file delete" doesn't

Post by xnview »

i use windows API to be able to use 'recycle bin'
Pierre.
obelisk
Posts: 464
Joined: Fri Jan 09, 2009 9:54 am

Re: "confirm file delete" doesn't

Post by obelisk »

This is what non-programmers expect:


"use recycle bin" on => use windows API, "confirm file delete" option disabled (It's irrelevant)


"use recycle bin" off => use File.Delete (recursively), "confirm file delete" option enabled
"confirm file delete" on => MessageBox.Show Y/N
Post Reply