0.60: Deleting subfolders with files in Browser

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

Moderators: XnTriq, helmut, xnview, Dreamer

bitz4
Posts: 37
Joined: Sun Apr 18, 2010 5:03 am

0.60: Deleting subfolders with files in Browser

Post by bitz4 »

It's related to this Serious but simple issue with "Move To..." but still not working...

Having listed a folder, in it is another folder, in that is a file, any file, be it a text file.
If I delete the file, it's ok.
If I delete the folder with the file in it, it's ok.
If I delete the folder with the folder in it with the file in it, it asks me for permission and sometimes it crashes.

0.60, Win 7 32-bit
MP 0.90 x64, Win 7 64-bit
User avatar
xnview
Author of XnView
Posts: 45321
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Deleting subfolders with files in Browser

Post by xnview »

With 0.61 too?
Pierre.
BloodyRain2k
Posts: 24
Joined: Wed Oct 31, 2012 3:37 pm

Re: Deleting subfolders with files in Browser

Post by BloodyRain2k »

Yeah I had that problem in 0.61 too. It seems it's blocking itself by keeping some access handle to a file or folder open that's inside of the folder you're trying to delete.

An example, we have the file "C:\Test\A\img.jpg":

Being in folder "A" I can delete it by right clicking it in the folder tree on the left fine, but if I'm now in "A" and try to delete "Test" which contains "A" it's throwing me an access error.
I also had a case where it seemingly blocked itself with a file handle because it wouldn't let me delete a folder from the browser, not the tree on the side. So I wasn't inside the folder I was trying to delete as described above.

Edit: Win7 HP x64 with XnViewMP x64 0.61
Debian 12 x64 - XnViewMP 1.6.2 x64
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Deleting subfolders with files in Browser

Post by m.Th. »

BloodyRain2k wrote:Yeah I had that problem in 0.61 too. It seems it's blocking itself by keeping some access handle to a file or folder open that's inside of the folder you're trying to delete.

An example, we have the file "C:\Test\A\img.jpg":

Being in folder "A" I can delete it by right clicking it in the folder tree on the left fine, but if I'm now in "A" and try to delete "Test" which contains "A" it's throwing me an access error.
I also had a case where it seemingly blocked itself with a file handle because it wouldn't let me delete a folder from the browser, not the tree on the side. So I wasn't inside the folder I was trying to delete as described above.

Edit: Win7 HP x64 with XnViewMP x64 0.61
...now I see that I reported it twice. One you mentioned above, the other is here: http://newsgroup.xnview.com/viewtopic.php?f=60&t=28450
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -