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

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

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

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

Post 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:
Last edited by ckv on Sat Mar 05, 2011 4:52 pm, edited 2 times in total.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView sometimes hangs after deleting file in view mode

Post 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.
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Re: XnView sometimes hangs after deleting file in view mode

Post 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.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView sometimes hangs after deleting file in view mode

Post 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
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Re: XnView sometimes hangs after deleting file in view mode

Post 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:
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView sometimes hangs after deleting file in view mode

Post by xnview »

Pierre.
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Re: XnView sometimes hangs after deleting file in view mode

Post by ckv »

Fixed in XnView 1.98 beta 1 :)
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
Post Reply