Deleting file from Recycled bin creates duplicate instead..

Things you’d like to miss in the future...
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
Post Reply
j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Deleting file from Recycled bin creates duplicate instead..

Post by j_c_hallgren »

Noticed that when I attempt to delete a file from the Recycled Bin in XY, (which I'm doing to clean-up/empty RB in a careful manner as I may have "deleted" some files prematurely), that instead of just purging file as Win Expl does (after a confirm msg), XY creates a copy of the file in RB under the internal filename (like DC810.BMP)! :? :roll:

Is this because of how XY has to interface to Windows? Or....???
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Re: Deleting file from Recycled bin creates duplicate instea

Post by admin »

j_c_hallgren wrote:Noticed that when I attempt to delete a file from the Recycled Bin in XY, (which I'm doing to clean-up/empty RB in a careful manner as I may have "deleted" some files prematurely), that instead of just purging file as Win Expl does (after a confirm msg), XY creates a copy of the file in RB under the internal filename (like DC810.BMP)! :? :roll:

Is this because of how XY has to interface to Windows? Or....???
Oh. :shock: BAD. DO NOT DO IT.

Any file operations in or from XY's Raw Recycle Bin view should not be possible! Last time I checked it was Windows 95 :lol: and it was not possible. Now I see under XP you can do all kind of stuff... something was changed behind the scenes and MS did not tell me.
I will not allow any of this anymore in the next release. Because: the Windows Recycle Bin is not a normal folder but rather a database with an internal structure that is interpreted when you view it in Explorer, and raw/uninterpreted when you view it in XY. The latter is just meant to view. Do not move, delete, rename anything there. You will just confuse/corrupt the database.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

Ok...so then please put the handcuffs on that folder, ok? :wink:
Unless you know of a SAFE way to allow a delete, at least, from it?

As I noted in another thread, having the ability to preview a file in RB can come in REAL handy when one may have deleted something too soon -and- when the filename is vague (like VT362b.bmp from a scanner).
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

zridling
Posts: 140
Joined: 29 Jul 2006 06:12
Location: Chicago, US
Contact:

Post by zridling »

Out of habit, I've never accessed the Recycle Bin from any file manager. Is that lazy or sly? (If you knew me, then you'd vote "lazy" every time.)
- Zaine Ridling, The Great Software blog

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

I just tried v5.10.45 with the "handcuffs"...
On my W2K sys, they didn't lock :!:
I was still able to 'delete' a file...
(Recall that on my system it's the "Recycle Bin" and not "RECYCLER", if that makes any difference)
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Post by admin »

j_c_hallgren wrote:I just tried v5.10.45 with the "handcuffs"...
On my W2K sys, they didn't lock :!:
I was still able to 'delete' a file...
(Recall that on my system it's the "Recycle Bin" and not "RECYCLER", if that makes any difference)
How did you do it exactly?

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

Just as one might expect...went to RB in a tab, selected a file, used Del key, got std confirm msg, said ok/yes, and it "deleted" (or in this case, became a clone under a new name)...

BTW, just noticed Win Expl calls it Recycle Bin but XY calls it Recycled...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Post by admin »

j_c_hallgren wrote:Just as one might expect...went to RB in a tab, selected a file, used Del key, got std confirm msg, said ok/yes, and it "deleted" (or in this case, became a clone under a new name)...

BTW, just noticed Win Expl calls it Recycle Bin but XY calls it Recycled...
Oh yes, beautiful bug!! :D (sorry, but this is a great find, thanks!)

Just give me one more info to be absolutely sure: what the real path of your recycle bin resp. of the file you could delete?

I was expecting these too:
- FAT16/32: ?:\RECYCLED\*
- NTFS: ?:\RECYCLER\*

But you have them at least partly in lower case, right??

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

I'm running FAT32...and via a DOS prompt from C:\ and doing a DIR /AHS, it shows as "DIR Recycled"...so...you're more accurate than Win Expl as to name of it!
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Post by admin »

j_c_hallgren wrote:I'm running FAT32...and via a DOS prompt from C:\ and doing a DIR /AHS, it shows as "DIR Recycled"...so...you're more accurate than Win Expl as to name of it!
Why DOS. Just turn on XY's address bar, select an item in the recycle bin and look what's in the address bar.
Or simply look at XY's title bar.
Or simply hit Ctrl+P.

I get something like this:
C:\RECYCLER\S-1-5-21-1606980848-492894223-854245398-1003\Dc88.jpg

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

C:\Recycled\Dc2323.dat2 via a Cntl+P...
I simply used DOS to avoid any possible effects of XY on the name...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Post by admin »

j_c_hallgren wrote:C:\Recycled\Dc2323.dat2 via a Cntl+P...
I simply used DOS to avoid any possible effects of XY on the name...
Ah, see? Recycled != RECYCLED... we got a sweet little bug here. And nobody will ever know why MS switched from "Recycled" to "RECYCLED" between Win2K and WinXP...

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

At least this is one of those 'simple fix' bugs compared to some that we've sent your way! :roll:
Now that we've got the right name for the culprit, the handcuffs should be on soon! 8)
And nobody knows what causes M$ to do what they do! :wink:
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Post by admin »

j_c_hallgren wrote:At least this is one of those 'simple fix' bugs compared to some that we've sent your way! :roll:
Now that we've got the right name for the culprit, the handcuffs should be on soon! 8)
And nobody knows what causes M$ to do what they do! :wink:
Yes, 'simple fix' bugs are my morning cookies!

To be fair MS switched from "Recycled" to "RECYCLER". I guess in Vista it's "recyclE"...

Post Reply