0.86: Crash deleting file on empty folder on fullscreen

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Post Reply
JMM72
Posts: 33
Joined: Wed Feb 10, 2016 2:16 pm

0.86: Crash deleting file on empty folder on fullscreen

Post by JMM72 »

XnViewMP 0.86 64 bit, under Windows 7 64 bit.

If you accidentally hit 'delete file' key again after deleting the last file on a folder, XnView crashes. To reproduce:

1. Open XnViewMP and go to a folder with few files you want to delete.
2. Enter full screen mode.
3. Delete each image using the 'delete file' key shortcut until you reach the last file.
4. Delete it too. Then press 'delete file' again.
5. Witness the crash.

I guess it'll be a pretty easy thing to fix ^_^
User avatar
helmut
Posts: 8219
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Crash deleting file on empty folder on fullscreen

Post by helmut »

Thank you for the bug report, JMM72. I could reproduce the problem.

> 2. Enter full screen mode.
For entering the fullscreen mode you open the image in viewer. Then open the image in fullscreen mode.

:arrow: Reproduced.
ckit
XnThusiast
Posts: 2446
Joined: Tue Feb 17, 2004 1:11 am
Contact:

Re: 0.86: Crash deleting file on empty folder on fullscreen

Post by ckit »

I can confirm as well, XnView crash reporter is invoked!
XnViewMP 64bits and Windows 10 Pro x64 2004
PhotoFiltre Studio X
User avatar
xnview
Author of XnView
Posts: 33886
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash deleting file on empty folder on fullscreen

Post by xnview »

helmut wrote:Thank you for the bug report, JMM72. I could reproduce the problem.

> 2. Enter full screen mode.
For entering the fullscreen mode you open the image in viewer. Then open the image in fullscreen mode.

:arrow: Reproduced.
I can't reproduced, 'Delete' is not greyed??
Pierre.
User avatar
Theobald93
Posts: 13
Joined: Tue Apr 11, 2017 8:39 pm
Location: Austria

Re: 0.86: Crash deleting file on empty folder on fullscreen

Post by Theobald93 »

Use the DEL-key on your keyboard. XnView always crashes when double-deleting the last file.
"Delete" is greyed.
Sorry for my bad english in some cases...
User avatar
xnview
Author of XnView
Posts: 33886
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.86: Crash deleting file on empty folder on fullscreen

Post by xnview »

Theobald93 wrote:Use the DEL-key on your keyboard. XnView always crashes when double-deleting the last file.
"Delete" is greyed.
you open XnViewMP, open an image file, fullscreen, delete the only file in this folder by pressing del key, and you press del key again?
Pierre.
User avatar
Theobald93
Posts: 13
Joined: Tue Apr 11, 2017 8:39 pm
Location: Austria

Re: 0.86: Crash deleting file on empty folder on fullscreen

Post by Theobald93 »

Yes.

It happens in the Fullscreen and the Viewer Mode.
If you have X images in the folder and delete all X images and delete the last one "twice", xnViewMP crashes.

e.g. 2 images in a Folder:
Opening xnView by doubleclicking a image
xnview starts in viewer mode and displays the image
pressing DEL key
security message: Do you really want to delete the image?
Pressing yes: XnView deletes the first image
Xnview loads and displays the second image
pressing DEL key
security message: Do you really want to delete the image?
Pressing yes: XnView deletes the second image
XnView still displays the second image
Delete is grayed in the context menu
pressing DEL-key => CRASH!

Tested with Win7 64bit and Win10 64bit.
Sorry for my bad english in some cases...
User avatar
xnview
Author of XnView
Posts: 33886
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.86: Crash deleting file on empty folder on fullscreen

Post by xnview »

Theobald93 wrote:Yes.

It happens in the Fullscreen and the Viewer Mode.
If you have X images in the folder and delete all X images and delete the last one "twice", xnViewMP crashes.
please send me your xnview.ini?
Pierre.
User avatar
Theobald93
Posts: 13
Joined: Tue Apr 11, 2017 8:39 pm
Location: Austria

Re: 0.86: Crash deleting file on empty folder on fullscreen

Post by Theobald93 »

Here you go.

P.S.:I deleted the history infos in the config. Error still occures so...
Attachments
xnview.zip
(5.37 KiB) Downloaded 26 times
Sorry for my bad english in some cases...
User avatar
xnview
Author of XnView
Posts: 33886
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.86: Crash deleting file on empty folder on fullscreen

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.
Pierre.
User avatar
Theobald93
Posts: 13
Joined: Tue Apr 11, 2017 8:39 pm
Location: Austria

Re: 0.86: Crash deleting file on empty folder on fullscreen

Post by Theobald93 »

Del key is blocked after deleting the last file -> no Crash possible -> fixed!
Sorry for my bad english in some cases...
Post Reply