Page 1 of 2

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

Posted: 24 Feb 2021 03:54
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.

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

Posted: 05 Mar 2021 15:03
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).

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

Posted: 22 Mar 2021 17:06
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.

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

Posted: 22 Mar 2021 17:45
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.

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

Posted: 22 Mar 2021 18:21
by admin
What kind of file? And previewed where exactly (Preview Tab, Preview Pane...)?

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

Posted: 22 Mar 2021 18:42
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

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

Posted: 23 Mar 2021 10:09
by admin
Are you using Adobe for PDF? The Adobe preview handlers are known for grabbing a file and not letting loose easily.

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

Posted: 23 Mar 2021 10:25
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.

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

Posted: 23 Mar 2021 10:28
by admin
Can you confirm that there is no such problem with Tracker PDF-XChange?

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

Posted: 23 Mar 2021 10:36
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.

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

Posted: 23 Mar 2021 10:53
by admin
Oha! I will check this later on Win10...

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

Posted: 23 Mar 2021 21:27
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.

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

Posted: 23 Mar 2021 22:23
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.

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

Posted: 24 Mar 2021 10:55
by admin
Strange. Please try v21.60.0011.

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

Posted: 24 Mar 2021 13:15
by Horst
admin wrote: ↑24 Mar 2021 10:55 Strange. Please try v21.60.0011.
Sorry, still the same problem.