Page 1 of 1
Locked Files Due to Preview Tab
Posted: 09 Apr 2014 05:19
by Enternal
Saw this comment on:
http://www.portablefreeware.com/index.p ... 9#comments
XYplorer was not allowing me to modify the date stamp of an MP3 file, telling me the file was in use somewhere else, which it wasn't. I just discovered why this was happening: In XYplorer's configuration dialogue I had enabled previews for audio and video, and even though the MP3 wasn't playing at the time, just having it selected was apparently enough to block access to it, probably because it appeared in the preview tab of the info panel, which I couldn't see, since I was in the properties tab. Temporarily disabling audio and video previews solved the problem, so it's not really a bug.
I was able to confirm this issue. Simply pull up the property panel of the music file, load the preview tab (not necessary to play it), and then attempt to change the file date. It won't let you. If you did not open the Preview tab, then you will be fine. Like the guy said, it does not really seem like a "bug" but it's also not really expected.
Re: Locked Files Due to Preview Tab
Posted: 09 Apr 2014 09:07
by admin
Why is it surprising? The file is opened at that point.
Re: Locked Files Due to Preview Tab
Posted: 09 Apr 2014 09:15
by Enternal
So what if I accidentally hit the Preview tab but then switched back to the properties tab to change the properties like file data and such? I would not be able to do so. How else could I do it without selecting a different file and then back to that file to change the date or other properties? The techies or advanced users may understand that but for the more common user, they might end up getting a bit more frustrated?
Is there not way to close the file handle if the Preview tab is not the current one in focus UNLESS "Keep playing when info panel is hidden" is checked under the Preview options?
EDIT: Well, it's not a huge thing but I do think that it's a valid concern.
Re: Locked Files Due to Preview Tab
Posted: 09 Apr 2014 09:21
by admin
Well, it's a decision (which I made 12 years ago or so

): Pro quick tab switch, contra change file date while previewing a media file.
Re: Locked Files Due to Preview Tab
Posted: 09 Apr 2014 09:25
by Stef123
Don't know if this is related:
Recently I viewed pics on a portable drive. It refused to eject until I closed down XY. Even though none of XY's tabs were pointing to the drive anymore.
Didn't bother me, I simply closed XY and ejected the drive. But now I wonder if this could be related this thread.
Re: Locked Files Due to Preview Tab
Posted: 09 Apr 2014 09:31
by admin
Either you had one pic opened in Raw View, or it is related to auto-refresh. The latter would be a bug.
Re: Locked Files Due to Preview Tab
Posted: 09 Apr 2014 09:52
by Stef123
Too unimportant for me to check up on this. I simply close down XY and start over. No big deal. Thanks for the info, anyway.
Re: Locked Files Due to Preview Tab
Posted: 09 Apr 2014 18:12
by klownboy
I've noticed some similar issues with not being able to eject a flash drive and I couldn't for the life of me figure out what was going on since I had closed everything associated with the flash drive, actually every program running, and was still having problems ejecting. Today I tried to perform the latest beta v13.90.0103 update using "SimpleUpdater" as I normally do. It wouldn't update. Well I found out I had the "help" file open so I closed it and tried again. Normally if I start the update with the help file open and then close help, the update works no problem. Today I closed help and it still would not update. I found out via taskmanager "contextmenu64.exe" was running in the background. The weird thing is I had previously closed and reopened XY and the update still wouldn't work. As soon as I terminated "contextmenu64.exe" in TaskManager the update happened. Now I'm figuring that may be what was happening with not being able to eject a flash drive on a number of occasion. I do not have the 64 context menu enabled in the configuration so on occasion I enable it via the right click menu (which I did do earlier today). Any thoughts on why it may be staying open preventing an update or preventing ejection of a external drive?
Thanks,
Ken
Re: Locked Files Due to Preview Tab
Posted: 10 Apr 2014 10:11
by admin
contextmenu64.exe is loaded after you open the 64-bit context menu and stays in memory until XY is closed. But I fail to see how this could lock drives.
