Page 1 of 1
Delete file confirmation does not show
Posted: Sun Jan 26, 2020 10:37 pm
by PapaGena
Hi,
I am unable to get delete file confirmation dialog from XnView Classic - all my files are deleting instantly without prompting.
I have "confirm file deletion" option set but it doesnt help.
Xnview on my installation stores settings in .ini file and I can see this lines inside:
Code: Select all
[File]
ConfirmFileDelete=1
CopyCompanionFile=0
CopyTo=
DeleteRecycleBin=1
DirName_0=
XnView version is 2.49.2 and I got the same on 2.47.
Is there any way to turn it on or enable some extra diagnostics?
Thank you.
Re: Delete file confirmation does not show
Posted: Tue Jan 28, 2020 9:28 am
by xnview
and settings of windows recycle bin?
Re: Delete file confirmation does not show
Posted: Fri Jan 31, 2020 9:13 pm
by PapaGena
I have some expired installation of Executive Undelete on this logical drive.
I think it is strange for any program to skip deletion confirmation because of system settings.
Is there any way to get confirmation back?
Thank you.
Re: Delete file confirmation does not show
Posted: Tue Feb 04, 2020 11:32 am
by xnview
you need to change the settings of recycle bin
Re: Delete file confirmation does not show
Posted: Tue Feb 04, 2020 1:04 pm
by PapaGena
What settings should I change?
It looks a bit strange to me - I have to change external system options to obtain dialog from XnView.
I took a look on Changelog
viewtopic.php?f=35&t=39772 but was unable to find note about this behaviour.
Could you please tell me XnView version introducing this so I will be able to downgrade to older version and resolve my issue?
Thank you.
Re: Delete file confirmation does not show
Posted: Thu Feb 06, 2020 10:27 am
by xnview
it was always like this, Xn use windows API to delete files, and i can't override the settings of recycle bin. Right click on recycle bin
Re: Delete file confirmation does not show
Posted: Thu Mar 05, 2020 10:09 am
by PapaGena
Is it possible to know XnView version that introduced such behaviour?
I am ready to downgrade.
Re: Delete file confirmation does not show
Posted: Thu Mar 05, 2020 11:16 am
by cday
PapaGena wrote: Thu Mar 05, 2020 10:09 am
Is it possible to know XnView version that introduced such behaviour?
Pierre is saying that nothing has changed in XnView...
If you wish to test earlier versions they can be downloaded from this link:
Old versions
Re: Delete file confirmation does not show
Posted: Sun Mar 22, 2020 7:37 pm
by PapaGena
Thank you very much!
I will try.
Re: Delete file confirmation does not show
Posted: Sat Aug 22, 2020 1:13 pm
by tcosmas
In XnView Classic, Tools -> Options ->General -> File Operations,
Check "Confirm file delete" and "Delete to Recycle Bin"
Right-click on the Windows Recycle Bin,
On the General tab, make sure you DO NOT SELECT have "Don't move files to Recycle Bin..."
Check the box "Display delete confirmation dialog"
In theory, that SHOULD cause Windows to pop up a dialog box confirming that you want to delete the file. I have just tested this and it seems to be working now for me!
I use XnView to view pages automatically displayed by a text editor for converting images through OCR and spell check, etc. into TXT, HTML and Epub versions. Quite often, I have clicked on a page to delete some extra space or other scanno. Hit delete and the XnView was the active window. So,, away went the PNG for the page I was 'editing' in the other window! Thanks for asking this question and getting enough info to (hopefully) STOP Windows from deleting the images!
Re: Delete file confirmation does not show
Posted: Sun Aug 23, 2020 6:38 pm
by PapaGena
Finally, I haven't find old version with previous behaviour.
I have some special software that replaces standard Recycle Bin and it doesn't have such option.
My suggestion is to monitor the file deletion event as early as possible - that is, when the program realizes that I pressed the delete button. And do not delegate this check to external system infrastructure, which can be changed by installing third-party programs.