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 » Mon May 08, 2017 11:24 am

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: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Crash deleting file on empty folder on fullscreen

Post by helmut » Mon May 08, 2017 12:29 pm

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: 2441
Joined: Tue Feb 17, 2004 1:11 am

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

Post by ckit » Tue May 09, 2017 10:29 am

I can confirm as well, XnView crash reporter is invoked!
Windows 10 Pro x64 1903
XnViewMP and Classic and PhotoFiltre Studio X

User avatar
xnview
Author of XnView
Posts: 31272
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash deleting file on empty folder on fullscreen

Post by xnview » Wed Jun 07, 2017 12:40 pm

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 » Sun Jun 11, 2017 4:23 pm

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: 31272
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 » Sun Jun 11, 2017 5:05 pm

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 » Mon Jun 12, 2017 9:30 am

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: 31272
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 » Mon Jun 12, 2017 2:54 pm

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 » Tue Jun 13, 2017 6:33 pm

Here you go.

P.S.:I deleted the history infos in the config. Error still occures so...
Attachments
xnview.zip
(5.37 KiB) Downloaded 22 times
Sorry for my bad english in some cases...

User avatar
xnview
Author of XnView
Posts: 31272
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 » Sat Jul 08, 2017 1:02 pm

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 » Sun Jul 09, 2017 1:24 pm

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

Post Reply