XY not "releasing" files when using usb

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
beethoven
Posts: 69
Joined: 09 Sep 2006 09:03

XY not "releasing" files when using usb

Post by beethoven »

I had noticed an issue when using a usb stick before, ie that sometimes the stick could not be stopped despite all files being closed. Recently I started using a program usb safely remove that provides information on which application is still accessing the stick. Due to this program I now can see that XY appears not to release previously accessed files under certain conditions. I believe it may have something to do with using dual pane.

When I transfer files from my pc to my usb I make use of the dual pane function :D . Once I finish I I go back to single pane, ensure that all tabs are closed except for my usual locked tabs (all on my pc) and then try to remove the stick. This fails with the following error message:
The device"....." cannot be stopped right now. Close all applications that have open files on the disk...Then try to stop the device again".

Underneath it shows the applications locking the device. It shows XY with all the folders previously accessed on the stick. With usb safely remove I can do a forced closing of these files which closes Xy thus releasing my stick. No big deal but ideally I would prefer not having to close and reopen a program just to remove a stick.

Seems to me like a little bug.

Using V.8.1 on XP

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

Re: XY not "releasing" files when using usb

Post by admin »

Please update to 8.30.0000 at least, better the latest BETA version. Probably this issue is solved already.

beethoven
Posts: 69
Joined: 09 Sep 2006 09:03

Re: XY not "releasing" files when using usb

Post by beethoven »

No change in 8.3 - will now try the new 8.4 :)

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: XY not "releasing" files when using usb

Post by TheQwerty »

I do believe XY still locks the drive's root if you have auto-complete enabled and it was used on the drive. Could that be the case here?

I think you said that was Windows and not something you could control, right Don?

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

Re: XY not "releasing" files when using usb

Post by admin »

TheQwerty wrote:I do believe XY still locks the drive's root if you have auto-complete enabled and it was used on the drive. Could that be the case here?

I think you said that was Windows and not something you could control, right Don?
You mean auto-refresh?!
Yes, using Unlocker this can be confirmed easily. Also WE looks each drive it's pointing. It's in the nature of auto-refresh that a hook is established.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: XY not "releasing" files when using usb

Post by TheQwerty »

admin wrote:You mean auto-refresh?!
Nope, you said auto-complete was also adding a lock that you could do nothing about: http://www.xyplorer.com/xyfc/viewtopic. ... 157#p14157

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

Re: XY not "releasing" files when using usb

Post by admin »

TheQwerty wrote:
admin wrote:You mean auto-refresh?!
Nope, you said auto-complete was also adding a lock that you could do nothing about: http://www.xyplorer.com/xyfc/viewtopic. ... 157#p14157
Ah yes, the 6th handle! Well, one fine day I will emulate auto-complete which sucks all the way anyway.

phitsc
Posts: 124
Joined: 05 May 2009 12:21

Re: XY not "releasing" files when using usb

Post by phitsc »

I have this very same problem. So would it be possible to add a 'removable drives as well' option underneath the 'Auto-refresh' option for turning auto-refresh on USB memory sticks off? (or is there a tweak already?).

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

Re: XY not "releasing" files when using usb

Post by admin »

phitsc wrote:I have this very same problem. So would it be possible to add a 'removable drives as well' option underneath the 'Auto-refresh' option for turning auto-refresh on USB memory sticks off? (or is there a tweak already?).
The only solution is to turn auto-complete off. I have no further control over this.

phitsc
Posts: 124
Joined: 05 May 2009 12:21

Re: XY not "releasing" files when using usb

Post by phitsc »

admin wrote:The only solution is to turn auto-complete off. I have no further control over this.
I can release the USB memory stick if I turn auto-refresh off. Auto-complete seems to have no influence on this (on my PC at least, but maybe I'm trying with the wrong Auto-complete option?). I know it's a stupid argument, but Windows File Explorer seems to have no problem with this. Don't know if it does auto-refresh on removable drives though, hence the request to selectively disable auto-refresh on removable drives ;)

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

Re: XY not "releasing" files when using usb

Post by admin »

phitsc wrote:
admin wrote:The only solution is to turn auto-complete off. I have no further control over this.
I can release the USB memory stick if I turn auto-refresh off. Auto-complete seems to have no influence on this (on my PC at least, but maybe I'm trying with the wrong Auto-complete option?). I know it's a stupid argument, but Windows File Explorer seems to have no problem with this. Don't know if it does auto-refresh on removable drives though, hence the request to selectively disable auto-refresh on removable drives ;)
You say "release the USB memory stick" -- I just pull it off. Where do you "release" it?

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: XY not "releasing" files when using usb

Post by zer0 »

admin wrote:You say "release the USB memory stick" -- I just pull it off. Where do you "release" it?
I believe he means going through the "Safely Remove Hardware" steps ;)
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

phitsc
Posts: 124
Joined: 05 May 2009 12:21

Re: XY not "releasing" files when using usb

Post by phitsc »

admin wrote:You say "release the USB memory stick" -- I just pull it off. Where do you "release" it?
:lol:

In XYplorer's tree view, right click the USB drive letter, then select 'Eject'. Make sure to select the respective drive first, so that its contents is displayed in the list view.

What Windows File Explorer does when you do that is it will change the selection to a different drive (no idea what the rule is as for which drive it selects). In XYplorer I have to do that manually, i.e. select a different drive first, then right click and select 'Eject'. Better than selecting a different drive would be to leave the selection on the respective drive (the USB stick), but just release the 'lock' (which is probably there because of auto-refresh?). Then, when the memory stick is re-attached, its content will be displayed again. Or, as an alternative, just allow auto-refresh to be disabled for removable drives.

I'm using some SW to do the removing by the way (USB Safely Remove). So I don't actually do the right-click select Eject thing but rather hit a shortcut key combination that brings up a list of attached drives that can be removed, then select the one I want.

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

Re: XY not "releasing" files when using usb

Post by admin »

phitsc wrote:
admin wrote:You say "release the USB memory stick" -- I just pull it off. Where do you "release" it?
:lol:

In XYplorer's tree view, right click the USB drive letter, then select 'Eject'. Make sure to select the respective drive first, so that its contents is displayed in the list view.

What Windows File Explorer does when you do that is it will change the selection to a different drive (no idea what the rule is as for which drive it selects). In XYplorer I have to do that manually, i.e. select a different drive first, then right click and select 'Eject'. Better than selecting a different drive would be to leave the selection on the respective drive (the USB stick), but just release the 'lock' (which is probably there because of auto-refresh?). Then, when the memory stick is re-attached, its content will be displayed again. Or, as an alternative, just allow auto-refresh to be disabled for removable drives.

I'm using some SW to do the removing by the way (USB Safely Remove). So I don't actually do the right-click select Eject thing but rather hit a shortcut key combination that brings up a list of attached drives that can be removed, then select the one I want.
I have no time currently for anything but this:
Or, as an alternative, just allow auto-refresh to be disabled for removable drives.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: XY not "releasing" files when using usb

Post by zer0 »

On a slightly related note, I noticed that if I run a 'regexreplace' scripting command on a big file by mistake an error message comes up saying that XYplorer is out of memory. After I close that message, XYplorer still retains a handle on that file, even though the process failed, so I can't do anything with it until I unlock the handle.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

Post Reply