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
infinite loop when deleting an unique file
Moderators: helmut, XnTriq, xnview
Re: infinite loop when deleting an unique file
Couldn't reproduce this one. What are the exact steps? Do you delete in browser moder or in image view mode?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 !
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

Re: infinite loop when deleting an unique file
my bad, it's little more complicated :phelmut wrote:Couldn't reproduce this one. What are the exact steps? Do you delete in browser moder or in image view mode?
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
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.Cortexd wrote:my bad, it's little more complicated :phelmut wrote:Couldn't reproduce this one. What are the exact steps? Do you delete in browser moder or in image view mode?
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
Could you please exit XnView, temporarily rename your xnview.ini file, and try again?
Re: infinite loop when deleting an unique file
because it's the second (and last) image file (=b.jpg, the first is a.jpg)helmut wrote:In the video one can see that XnView does NOT switch to the next image file when deleting the first image.
you must first open the second image file in alphabetical order
I have the same bughelmut wrote:Could you please exit XnView, temporarily rename your xnview.ini file, and try again?

Re: infinite loop when deleting an unique file
I can't reproduce, and if i open the second file, delete it, xnview loads the first oneCortexd wrote:because it's the second (and last) image file (=b.jpg, the first is a.jpg)helmut wrote:In the video one can see that XnView does NOT switch to the next image file when deleting the first image.
you must first open the second image file in alphabetical order
Pierre.