Page 1 of 1

infinite loop when deleting an unique file

Posted: Thu Sep 03, 2009 4:57 pm
by Cortexd
hi^^
there is an annoying bug when deleting the only file of a directory (and with the option "delete file goes next") : xnview is blocked in an infinite loop !
also when the deleted file is the last one, xnview stay on that file after the action instead of goes back to the previous file

Re: infinite loop when deleting an unique file

Posted: Fri Sep 04, 2009 7:43 pm
by helmut
Cortexd wrote:hi^^
there is an annoying bug when deleting the only file of a directory (and with the option "delete file goes next") : xnview is blocked in an infinite loop !
Couldn't reproduce this one. What are the exact steps? Do you delete in browser moder or in image view mode?
Cortexd wrote:also when the deleted file is the last one, xnview stay on that file after the action instead of goes back to the previous file
:bugconfirmed: Confirmed, could reproduce this one easily. When deleting in image view mode the deleted image remains displayed. When pressing delete again, the message "Error deleting file or folder".

Re: infinite loop when deleting an unique file

Posted: Fri Sep 04, 2009 10:07 pm
by Cortexd
helmut wrote:Couldn't reproduce this one. What are the exact steps? Do you delete in browser moder or in image view mode?
my bad, it's little more complicated :p
you need two files and you must open the second file first (=image view mode), delete him and go back to the previous file, then delete him too

if it's not clear, I have made a little video :
http://www.dailymotion.com/video/xadxc4 ... 2-bug_tech

Re: infinite loop when deleting an unique file

Posted: Mon Sep 07, 2009 7:40 pm
by helmut
Cortexd wrote:
helmut wrote:Couldn't reproduce this one. What are the exact steps? Do you delete in browser moder or in image view mode?
my bad, it's little more complicated :p
you need two files and you must open the second file first (=image view mode), delete him and go back to the previous file, then delete him too
Thank you for the detailed description and the video. Performing the same steps I have no problem. I guess that there's a combintation of settings which cause the problem. In the video one can see that XnView does NOT switch to the next image file when deleting the first image.

Could you please exit XnView, temporarily rename your xnview.ini file, and try again?

Re: infinite loop when deleting an unique file

Posted: Fri Sep 11, 2009 1:38 am
by Cortexd
helmut wrote:In the video one can see that XnView does NOT switch to the next image file when deleting the first image.
because it's the second (and last) image file (=b.jpg, the first is a.jpg)
you must first open the second image file in alphabetical order
helmut wrote:Could you please exit XnView, temporarily rename your xnview.ini file, and try again?
I have the same bug :)

Re: infinite loop when deleting an unique file

Posted: Sat Oct 17, 2009 12:38 pm
by xnview
Cortexd wrote:
helmut wrote:In the video one can see that XnView does NOT switch to the next image file when deleting the first image.
because it's the second (and last) image file (=b.jpg, the first is a.jpg)
you must first open the second image file in alphabetical order
I can't reproduce, and if i open the second file, delete it, xnview loads the first one