"File Already in Use" Error when Preview Pane Is Visible

Things you’d like to miss in the future...
mvarney82
Posts: 2
Joined: 24 Feb 2021 03:08

"File Already in Use" Error when Preview Pane Is Visible

Post by mvarney82 »

In the past month or two, Photoshop 2021 (and also 2020?) has been giving me the following error when attempting to save images:
"Could not save <filename> because the file is already in use or was left open in another application."
This seems to only occur when (1)the file to be saved is selected in XYplorer and (2) the Preview Pane in XYplorer is open, thus showing the image. If I select another file before saving, I don't get the message.

It also _usually_ only happens on the first attempt to save the file. After I clear the dialog box, the next attempt to save the file goes as expected. At least once, it happened several times in a row. I then selected a different image in XYplorer and the next attempt to save was successful.

At least once, I was unable to copy a file to another folder when its preview was being displayed. I can't seem to reproduce that issue right now, though. The Photoshop issue happens pretty much every time.

I'm pretty certain that this issue started with an update to XYplorer, not of Photoshop, late last year, although I can't pin down the exact point at which this changed. I do know that it didn't happen at all before that point, whenever it was. And it happens in both Photoshop 2020 and 2021.

I also tried this in Windows File Explorer, with its preview visible, and it doesn't seem to happen there.

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

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by admin »

..."pretty much every time". That makes it difficult.

I certainly cannot reproduce it here. The only preview that locks a file is the Raw View in Hex mode (Info Panel / Raw View tab, "Hex" ticked).

mvarney82
Posts: 2
Joined: 24 Feb 2021 03:08

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by mvarney82 »

Thank you for looking into this.

Strangely enough, within a few days after I posted my report, the behavior largely stopped happening. I don't think it's happened more than twice since then. It started rather suddenly and has stopped just as suddenly. I assume that some other software has updated and resolved the issue, although I really can't point to anything that changed around the time that the problem stopped happening.

It had been happening about 4 out of 5 times, so it was pretty repeatable.

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by Horst »

There is a problem after previewing a file.
I must change the cursor away from this entry in the file list
bevor I can open this just previewed file from the list in another program.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

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

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by admin »

What kind of file? And previewed where exactly (Preview Tab, Preview Pane...)?

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by Horst »

admin wrote: 22 Mar 2021 18:21 What kind of file? And previewed where exactly (Preview Tab, Preview Pane...)?
PDF files viewed using the button Show preview pane
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

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

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by admin »

Are you using Adobe for PDF? The Adobe preview handlers are known for grabbing a file and not letting loose easily.

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by Horst »

admin wrote: 23 Mar 2021 10:09 Are you using Adobe for PDF? The Adobe preview handlers are known for grabbing a file and not letting loose easily.
No Acrobat.
Currently using SumatraPDF and I can switch to Tracker PDF-XChange.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

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

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by admin »

Can you confirm that there is no such problem with Tracker PDF-XChange?

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by Horst »

admin wrote: 23 Mar 2021 10:28 Can you confirm that there is no such problem with Tracker PDF-XChange?
Just tested it but unfortunately the problem is also with the PDF-XChange handler.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

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

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by admin »

Oha! I will check this later on Win10...

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

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by admin »

Horst wrote: 23 Mar 2021 10:36 Just tested it but unfortunately the problem is also with the PDF-XChange handler.
Please try v21.60.0010.

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by Horst »

admin wrote: 23 Mar 2021 21:27
Horst wrote: 23 Mar 2021 10:36 Just tested it but unfortunately the problem is also with the PDF-XChange handler.
Please try v21.60.0010.
Still the same problem.
Its not happening if I just try to open it after the preview with the assigned program (SumatraPDF)
it only happens with some external other preview.
Its not a big problem for me anyway so you should not spend much mor time to further anlyse it.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

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

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by admin »

Strange. Please try v21.60.0011.

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: "File Already in Use" Error when Preview Pane Is Visible

Post by Horst »

admin wrote: 24 Mar 2021 10:55 Strange. Please try v21.60.0011.
Sorry, still the same problem.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

Post Reply