Bug: crash when deleting empty folder

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
Subransu
Posts: 4
Joined: Mon Jun 16, 2014 2:16 pm

Bug: crash when deleting empty folder

Post by Subransu »

XnView MP v0.68 64bits on Win7

I'm in a folder that contains other subfolders
I create a new folder and don't rename it, keep the name New Folder 1
I go to one of the subfolders and copy a file into New Folder 1
I go to New Folder 1 and delete the file, New Folder 1 is now empty again
I right-click on New Folder 1 and say delete, I click yes in the confirmation box
Program crashes. Both when virus scanner is enabled or disabled.
Starting XnView MP and I see that the folder has been deleted.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Bug: crash when deleting empty folder

Post by m.Th. »

It happens to you every time?
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
Subransu
Posts: 4
Joined: Mon Jun 16, 2014 2:16 pm

Re: Bug: crash when deleting empty folder

Post by Subransu »

I had a friend do the same test and he could not reproduce the problem, which made me think what could be different. I realised my images are on a FAT32 drive. I tried the test on a NTFS drive and could not reproduce it either.

So it only happens on a FAT32 drive. I did the same test on a FAT32 USB-stick and could reproduce it 4 out of 6 tests. It looks like I get a crash when I create a folder, select that folder, drag a file in there. Then go to a different folder, go to the new folder again and delete the image. Then delete the empty folder while it is still selected.

As a work around I now know I don't get a crash if I un-select the folder first (so the right pane shows a different folder) and then right-click on the folder I want to delete.

Now while performing these tests I ran into another issue: each time when I start XnView I get a Error popup saying "File can't be loaded"

Was caused by having a tab which pointed to the missing file. :D
Post Reply