XY locks file it creates

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

XY locks file it creates

Post by Papoulka »

This is with XY v15.00.0115, on Win 7 32-bit. It is repeatable on both my C: drive and an external USB drive, and even after exiting and restarting XY.

In C:\Temp I right-click and create "New Folder". Then I right-click and create "New Text File". Then I attempt to drag the new text file into the new folder. I get a File In Use dialog saying the action can't be completed because the file is open in XYplorer. And after this fail I have trouble renaming or deleting the new text file.

--> Someone else - please test this. I hope it's repeatable for others because that may lead to reducing the frequent issues with XY and locked files.
Last edited by Papoulka on 25 Mar 2015 18:07, edited 2 times in total.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: XY locks file it creates

Post by highend »

Can't reproduce this behavior.
I get a File In Use dialog saying the action can't be completed because the file is open in XYplorer.
Screenshot? A file in use dialog that informs which application has a lock on it is not a normal windows dialog...
One of my scripts helped you out? Please donate via Paypal

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: XY locks file it creates

Post by Papoulka »

Sorry to hear that you can't reproduce it, highend. Attached is a screenshot of what I'm seeing (scroll to see all the messages). Still repeatable AND it persists through exiting and restarting XY.
To see the attached files, you need to log into the forum.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: XY locks file it creates

Post by bdeshi »

even in ::fresh?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: XY locks file it creates

Post by Papoulka »

Yes, even in ::fresh

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

Re: XY locks file it creates

Post by admin »

Not here. :|

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: XY locks file it creates

Post by highend »

Whatever software you use that creates this dialog...

Get e.g. LockHunter (http://lockhunter.com/), create the file and use it on it. I doubt that it reports that the file is locked by XY...
One of my scripts helped you out? Please donate via Paypal

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: XY locks file it creates

Post by Papoulka »

Lockhunter does show XY locking the file (see attached). With v15.00.0115 this still occurred even after a reboot.

So I updated to v15.00.0205. This has no problem with the move. Downgrade back to v15.00.0115 and the problem recurs, again repeatable.

It seems that some change just before .0115 created the bug and some change after that fixed it. If so, maybe (a) bogus file locks will be less of a problem going forward; or at least (b) the difference between .0115 and .0205 will give some clue regarding their root cause.
To see the attached files, you need to log into the forum.

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

Re: XY locks file it creates

Post by admin »

Just tested v15.00.0100 -- no such issue. Also there haven't been any changes recently that could possibly fix such an issue if it existed. So I believe there are other factors at work.

Anyway, good that it auto-solved for you. )

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

Re: XY locks file it creates

Post by TheQwerty »

Hate to say it but recently I have noticed XY locking files and not releasing them occasionally, and not frequently.

I haven't been able to consistently reproduce or figure out the cause though, so I had left it unsaid. :?

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

Re: XY locks file it creates

Post by admin »

I'm sure you will let me now once you find a way to repro it.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: XY locks file it creates

Post by PeterH »

On the first group of screenshots I see that both New Folder and New Text File.txt are selected.
Why? I don't see this if I test it. Creating New Test File.txt *unselects* New Folder here.

So could you have a look for this?

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: XY locks file it creates

Post by Papoulka »

You've got sharp eyes, Peter. I noticed that too but only because I was watching it all closely.

On my system, even in the normal case (no file lock) both items briefly show as "selected" when I drag the file onto the folder. They remain highlighted until I release the left mouse button. If there is trouble with the process they stay highlighted througout the dialog process, but normally the file disappears into the folder.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: XY locks file it creates

Post by PeterH »

Ah - didn't see it, as no hang situation here.

But you're right: while draging file over folder both show selected, until mouse is released.

Post Reply