0.86: Crash deleting file on empty folder on fullscreen
Moderators: XnTriq, helmut, xnview, Dreamer
0.86: Crash deleting file on empty folder on fullscreen
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 ^_^
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 ^_^
Re: Crash deleting file on empty folder on fullscreen
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.
Reproduced.
> 2. Enter full screen mode.
For entering the fullscreen mode you open the image in viewer. Then open the image in fullscreen mode.
Reproduced.
Re: 0.86: Crash deleting file on empty folder on fullscreen
I can confirm as well, XnView crash reporter is invoked!
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz
Windows 11 Pro x64 23H2, PowerToys and Wintoys
Windows 11 Pro x64 23H2, PowerToys and Wintoys
Re: Crash deleting file on empty folder on fullscreen
I can't reproduced, 'Delete' is not greyed??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.
Reproduced.
Pierre.
- Theobald93
- Posts: 13
- Joined: Tue Apr 11, 2017 8:39 pm
- Location: Austria
Re: 0.86: Crash deleting file on empty folder on fullscreen
Use the DEL-key on your keyboard. XnView always crashes when double-deleting the last file.
"Delete" is greyed.
"Delete" is greyed.
Sorry for my bad english in some cases...
Re: 0.86: Crash deleting file on empty folder on fullscreen
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?Theobald93 wrote:Use the DEL-key on your keyboard. XnView always crashes when double-deleting the last file.
"Delete" is greyed.
Pierre.
- Theobald93
- Posts: 13
- Joined: Tue Apr 11, 2017 8:39 pm
- Location: Austria
Re: 0.86: Crash deleting file on empty folder on fullscreen
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.
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...
Re: 0.86: Crash deleting file on empty folder on fullscreen
please send me your xnview.ini?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.
Pierre.
- Theobald93
- Posts: 13
- Joined: Tue Apr 11, 2017 8:39 pm
- Location: Austria
Re: 0.86: Crash deleting file on empty folder on fullscreen
Here you go.
P.S.:I deleted the history infos in the config. Error still occures so...
P.S.:I deleted the history infos in the config. Error still occures so...
- Attachments
-
- xnview.zip
- (5.37 KiB) Downloaded 39 times
Sorry for my bad english in some cases...
Re: 0.86: Crash deleting file on empty folder on fullscreen
This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.
Pierre.
- Theobald93
- Posts: 13
- Joined: Tue Apr 11, 2017 8:39 pm
- Location: Austria
Re: 0.86: Crash deleting file on empty folder on fullscreen
Del key is blocked after deleting the last file -> no Crash possible -> fixed!
Sorry for my bad english in some cases...