Page 1 of 2
XY not "releasing" files when using usb
Posted: 08 Sep 2009 00:45
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

. 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
Re: XY not "releasing" files when using usb
Posted: 09 Sep 2009 10:18
by admin
Please update to 8.30.0000 at least, better the latest BETA version. Probably this issue is solved already.
Re: XY not "releasing" files when using usb
Posted: 15 Sep 2009 15:01
by beethoven
No change in 8.3 - will now try the new 8.4

Re: XY not "releasing" files when using usb
Posted: 15 Sep 2009 15:33
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?
Re: XY not "releasing" files when using usb
Posted: 15 Sep 2009 15:38
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.
Re: XY not "releasing" files when using usb
Posted: 15 Sep 2009 16:07
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
Re: XY not "releasing" files when using usb
Posted: 15 Sep 2009 19:18
by admin
Ah yes, the
6th handle! Well, one fine day I will emulate auto-complete which sucks all the way anyway.
Re: XY not "releasing" files when using usb
Posted: 09 Nov 2009 14:46
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?).
Re: XY not "releasing" files when using usb
Posted: 10 Nov 2009 11:59
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.
Re: XY not "releasing" files when using usb
Posted: 19 Nov 2009 14:12
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

Re: XY not "releasing" files when using usb
Posted: 19 Nov 2009 15:31
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?
Re: XY not "releasing" files when using usb
Posted: 19 Nov 2009 15:33
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

Re: XY not "releasing" files when using usb
Posted: 19 Nov 2009 15:47
by phitsc
admin wrote:You say "release the USB memory stick" -- I just pull it off. Where do you "release" it?
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.
Re: XY not "releasing" files when using usb
Posted: 20 Nov 2009 14:16
by admin
phitsc wrote:admin wrote:You say "release the USB memory stick" -- I just pull it off. Where do you "release" it?
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.
Re: XY not "releasing" files when using usb
Posted: 20 Nov 2009 23:41
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.