XYplorer thinks every deletion from network drives are permanent

Things you’d like to miss in the future...
Post Reply
1024mb
Posts: 205
Joined: 14 Dec 2018 23:26

XYplorer thinks every deletion from network drives are permanent

Post by 1024mb »

When I do a simple DEL with any file inside a mounted network share which sends said file to the recycle bin, XYplorer thinks the deletion was permanent and doesn't allow me to undo the operation I have to manually go to the recycle bin and restore the file.

JLoftus
Posts: 577
Joined: 22 Jan 2014 14:58

Re: XYplorer thinks every deletion from network drives are permanent

Post by JLoftus »

Windows does not support recycling items from mapped drives by default. I posted a thread about this a while ago, follow these steps to enable network recycling:
viewtopic.php?t=20532

1024mb
Posts: 205
Joined: 14 Dec 2018 23:26

Re: XYplorer thinks every deletion from network drives are permanent

Post by 1024mb »

I have already enabled them, that's the issue.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer thinks every deletion from network drives are permanent

Post by admin »

1024mb wrote: 19 Dec 2022 19:04 When I do a simple DEL with any file inside a mounted network share which sends said file to the recycle bin, XYplorer thinks the deletion was permanent and doesn't allow me to undo the operation I have to manually go to the recycle bin and restore the file.
What does the confirmation prompt say?

JLoftus
Posts: 577
Joined: 22 Jan 2014 14:58

Re: XYplorer thinks every deletion from network drives are permanent

Post by JLoftus »

1024mb wrote: 19 Dec 2022 21:41 I have already enabled them, that's the issue.
Did you also get the wow3264node entry?

1024mb
Posts: 205
Joined: 14 Dec 2018 23:26

Re: XYplorer thinks every deletion from network drives are permanent

Post by 1024mb »

admin wrote: 20 Dec 2022 09:35 What does the confirmation prompt say?
I just deleted a folder. If I do Ctrl+z I get:
This action cannot be undone.
Reason: The deletion was permanent (no recycle bin).

Delete (Permanent) Folder "BLAHBLABHA" in "K:\dir A\BLAHBLABHA" (less than 1 min ago)
The action log also states that the deletion was permanent.
JLoftus wrote: 20 Dec 2022 14:08 Did you also get the wow3264node entry?
Yes, the recycle bin is working fine, it's been working fine for long time. Actually I think this issue (XYplorer not detecting that the recycle bin is enabled for the network drive) has been happening since for ever but I just chalked it up to other reasons and went on with my day, in the end 90% of the time when I delete something I don't restore it, I have rarely restored things from the trash, mainly when I delete something unintentionally when renaming files.

JLoftus
Posts: 577
Joined: 22 Jan 2014 14:58

Re: XYplorer thinks every deletion from network drives are permanent

Post by JLoftus »

You know, I'm getting that same CTRL+Z error:
2022-12-20_12h53_07.png
2022-12-20_12h53_07.png (6.52 KiB) Viewed 882 times
CTRL+Z works fine on this mapped drive letter when using Windows Explorer.

I am pretty sure CTRL+Z was working at the time I made the post I referenced above, could go get old versions from the Freezer to test that theory.

I do have Delete to Recycle bin selected:
2022-12-20_12h56_41.png
2022-12-20_12h56_41.png (19.13 KiB) Viewed 881 times

JLoftus
Posts: 577
Joined: 22 Jan 2014 14:58

Re: XYplorer thinks every deletion from network drives are permanent

Post by JLoftus »

Updated info for testing/debugging:

I went back and pulled a few versions out of the freezer. All failed with this same error, going back to version 19.90.0100 (April 2019, prior to my other post).

These tests were done on a completely clean/fresh instance of each of these versions, so it's certain not to be a configuration setting other than default. I get the delete prompt, but CTRL+Z results in the failure to restore the item. Also confirmed again that CTRL+Z worked fine to undelete items from a mapped drive letter in Windows Explorer. This does appear to be a bug of some kind.

Addendum: Also just tried something else... deleted the item in XY, failed to undelete using CTRL+Z, but then went over to Windows Explorer and pressed CTRL+Z, and the file was successfully undeleted. So XY is handling the "delete to recycle" part correctly, it's just the undo that's failing, and Windows Explorer is cognizant of the transaction and was able to undo the delete done within XY (went even older, this was done in version 18.90.0100)

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer thinks every deletion from network drives are permanent

Post by admin »

Don't know why this thread got orphaned, probably because of Xmas? Sorry about it.

Anyway, When I delete an item from a mapped drive (Win 8.1), I get this prompt and it tells the truth. The deletion will be permanent:
Attachments
2023-05-13_101540.png
2023-05-13_101540.png (24.98 KiB) Viewed 644 times

JLoftus
Posts: 577
Joined: 22 Jan 2014 14:58

Re: XYplorer thinks every deletion from network drives are permanent

Post by JLoftus »

Mapped (network) drive deletes are permanent by default, however, you can edit the registry to have network deletes honor the recycle bin.

See this thread: viewtopic.php?t=20532

This is what we have done, however, despite the recycle working correctly in XY, the UNDO does not. The Undo does work correctly in Windows Explorer.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer thinks every deletion from network drives are permanent

Post by admin »

OK, got it. Since this is based on a Windows hack, I will add a tweak (instead of checking the registry).

Naah, I make it easier (I expect future Windows will default to this anyway): I just allow Undo on mapped drives. Whether it actually works depends on the Windows settings.

JLoftus
Posts: 577
Joined: 22 Jan 2014 14:58

Re: XYplorer thinks every deletion from network drives are permanent

Post by JLoftus »

CTRL+Z (undo) on network delete is working now, thanks Don!

TMProjection
Posts: 79
Joined: 26 Sep 2020 10:10

Re: XYplorer thinks every deletion from network drives are permanent

Post by TMProjection »

sweet, did you update xyplorer in in another alpha or beta version? (i keep lossing track which one i need to download on an update lol)

thank you for checking in on these issues

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer thinks every deletion from network drives are permanent

Post by admin »

24.40.0100, official download

TMProjection
Posts: 79
Joined: 26 Sep 2020 10:10

Re: XYplorer thinks every deletion from network drives are permanent

Post by TMProjection »

can confirm, with the update this is now fixed :)

Post Reply