Page 1 of 1

[Fixed] XnView hangs after deleting a file in view mode

Posted: Thu Dec 09, 2010 6:04 pm
by ckv
Sometimes after deleting file in view mode, XnView gets stuck in Infinite loop.

This is quite rare and hard to reproduce bug, but I think I got a way to reproduce it.

To reproduce:
As for preparation, you need to create new folder with three files in it, one image file and two empty files with .dat extension. Rename the files so that the image file is first in the folder. E.g. 1.jpg, 2.dat, 3.dat

Or use this ready to use zip file with all the files you need.
  1. Make sure you have 'Display all image file types' enabled in XnView options.
  2. Open the image file in the folder you created before.
  3. While viewing the image delete the file in XnView with 'Delete' key.
Result: XnView hangs. :bug:

Re: XnView sometimes hangs after deleting file in view mode

Posted: Thu Dec 09, 2010 8:45 pm
by XnTriq
Hi ckv :-)
  • Image
On my installation, the toolbar button for cmd_Delete is greyed out,
and pressing the Del key doesn't do anything :?

Also: The counter in the status bar says “4th of 4” :bug:
I've had this bug before, but I don't know yet how to reproduce it.

Re: XnView sometimes hangs after deleting file in view mode

Posted: Fri Dec 10, 2010 1:49 pm
by ckv
Hi XnTriq

This bug is for XnView 1.97.8. :)

---
XnTriq wrote:Also: The counter in the status bar says “4th of 4” :bug:
I've had this bug before, but I don't know yet how to reproduce it.
I got this too in the MP version, but cannot reproduce it.

Re: XnView sometimes hangs after deleting file in view mode

Posted: Fri Dec 10, 2010 6:30 pm
by XnTriq
ckv wrote:This bug is for XnView 1.97.8. :)
Posted in wrong section again :x
Tho thowwy Image

But I think I found the problem thanks to your well prepared testcase.zip:
  • Tools » Options... » General » File Operations » Go to next image when deleting current

Re: XnView sometimes hangs after deleting file in view mode

Posted: Sat Dec 11, 2010 3:43 pm
by ckv
XnTriq wrote:I think I found the problem thanks to your well prepared testcase.zip:
  • Tools » Options... » General » File Operations » Go to next image when deleting current
Right. :bugconfirmed:

Re: XnView sometimes hangs after deleting file in view mode

Posted: Thu Mar 03, 2011 10:02 am
by xnview

Re: XnView sometimes hangs after deleting file in view mode

Posted: Sat Mar 05, 2011 4:51 pm
by ckv
Fixed in XnView 1.98 beta 1 :)