Photoshop: Rectangle appears on images after editing in Photoshop and returning to Lightroom Classic

  • 1
  • Problem
  • Updated 4 months ago
  • (Edited)
Whenever I export from Lightroom Classic and do some editing in Photoshop and return to Lightroom Classic on saving, there is always a rectangle at a different light level than the rest of the image.  This is corruption, I don't see this rectangle at all in Photoshop and if I reopen the file in photoshop it is not there, just in Lightroom.

It is sooooooooo annoying.

You can see it in this attached image, it happens almost every time I edit in Photoshop and return to Lightroom.  I have more examples.

Iain

Mac OS 10.15.3, iMac 27" 2018, Benq SW321C Photographer Monitor. Adobe Photoshop 21.1.1 Lightroom Classic 9.2


Same image in Photoshop:

Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
  • Frustrated

Posted 4 months ago

  • 1
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 7586 Posts
  • 1730 Reply Likes
If you disable GPU in Preferences > Performance and restart Lightroom do you still see the artifact?
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
Still there.
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 7586 Posts
  • 1730 Reply Likes
If you Export to a JPG and then view that JPEG file in Mac Preview is it still there?
(Edited)
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 17068 Posts
  • 2906 Reply Likes
Can you provide a copy of the file? 

If you open the file in Photoshop, go to Preferences > Performance... and click "legacy compositing" and resave the file, does it appear correctly in Lightroom?
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
Yes, it is still there even after export, this is why this is so bad, I can't do any work.
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
Still the same if I put on Legacy, edit a layer and save, same rectangle in Lightroom.
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
The file 350MB
Photo of John R. Ellis

John R. Ellis, Champion

  • 5134 Posts
  • 1458 Reply Likes
Iain, I just posted this reply to your original thread in the user-to-user forum:
https://community.adobe.com/t5/lightroom-classic/square-image-in-my-images-after-importing/m-p/11000...

"Reading through the jumbled order of replies, it's not clear that you've tried enabling the Photoshop option Preferences > Performance > Legacy Compositing, as suggested by Bob Somrak, and then resaving the image after making a trivial change. There is a bug in PS 21.0 and 21.1 that incorrectly renders the final image as seen by LR and other apps (PS displays the image correctly):

https://feedback.photoshop.com/photoshop_family/topics/reproducible-bug-in-feathered-layer-masks-photoshop-lr-classic?topic-reply-list%5Bsettings%5D%5Bfilter_by%5D=all"
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
I have done that 3 times now, it makes no difference.
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
I don't think this is the same bug, this is an original Cr2 file in Lightroom, basic edited in Lightroom, opened to edit in Photoshop, saved and closed and now this is what it looks like in Lightroom.  Therefore it's a Tiff, not a PSD.
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
I do have a feathered mask in Photoshop though, only 3 layers, clone stamp, feathered exposure mask for vignette.
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
That doesn't explain why it happens in other images that have no feathered masks.
Photo of John R. Ellis

John R. Ellis, Champion

  • 5134 Posts
  • 1458 Reply Likes
I think the most effective next step is, as Jeffrey Tranberry suggested, to upload a sample file showing the problem to Dropbox or similar and posting the sharing link here. That will help identify whether the problem is specific to the file or your particular configuration.
(Edited)
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
Ok, here is the file.  I closed and opened Lightroom 22 times and now its gone. Surely I can't be expected to do that in my workflow.....

https://www.dropbox.com/s/5v5st04ayy5t0jm/6N8A6210-Edit-Edit.tif?dl=0

Photo of John R. Ellis

John R. Ellis, Champion

  • 5134 Posts
  • 1458 Reply Likes
I just retested, and the bug with feathered layer masks occurs with both PSDs and TIFFs.
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
I'll be doing some editing tonight, I will post an example when there is no feathered masking, I'll upload the Tiff etc.

Thanks!
Photo of John R. Ellis

John R. Ellis, Champion

  • 5134 Posts
  • 1458 Reply Likes
Let's tease apart concerns and focus on the image(s) with feathered layer masks first.

Re your sample TIFF, I don't see the symptoms when I open it in Mac Preview or LR. But some further testing shows that the bug only appears to occur when you open a raw in PS, add a feathered layer, and save it as a PSD or TIFF. If you reopen that PSD or TIFF in PS and force a resave, either by making a small change or by doing File > Save As, the image then appears correctly in LR and other external apps.

So it's the first time you open a raw and save as a PSD/TIFF that provokes the bug.  Subsequent PS edits to that PSD/TIFF cause the bug to go away.

(Note that I've eliminated LR from the equation -- all my testing is with Photoshop and Mac Preview, which reads the compatibility layer to display a layered PSD or TIFF.   The bug is rendering the compatibility layer incorrectly.)
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
That might be well and fine but it’s not the bug I am reporting.

This thread was started because of what I find in my workflow, I wasn’t trying to report another bug.

My problem is Import Raw into Lightroom. Do a minor edit in Lightroom. Right click image and Edit in Photoshop. Do some edits. save and close file. Return to Lightroom and the image has a rectangle overlay at a different opacity than the rest of the image.

That is what I reported.

If this thread is now to fix a different issue for a different workflow then I’ll leave you all to it.

Iain
Photo of Bill

Bill

  • 261 Posts
  • 38 Reply Likes
"The file 350MB" - I had a similar problem with Lightroom a couple years ago when importing 4x5 high resolution scanned JPEG images, no involvement of Photoshop. They were about 250MB. Could the sheer size of the file be causing the problem? At the time, Windows 7 64 bit with 64GB of RAM. 
  
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
Nah, I have some composite images that are 2-3GB and they don’t have an issue. These are RAW images from Canon full frame imported to Lightroom and then edited from Lightroom in Photoshop and saved back into Lightroom. I don’t have the issue with PSB files.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 17068 Posts
  • 2906 Reply Likes
Thanks for the file. Seems like a variation on the bug that John describes which is triggered with feathered masks. I've asked engineering to take a look.
Photo of John R. Ellis

John R. Ellis, Champion

  • 5134 Posts
  • 1458 Reply Likes
"My problem is Import Raw into Lightroom. Do a minor edit in Lightroom. Right click image and Edit in Photoshop. Do some edits. save and close file. Return to Lightroom and the image has a rectangle overlay at a different opacity than the rest of the image."

Right, all the evidence indicates you're tripping over the Photoshop 21 bug with feathered layer masks. It's a Photoshop bug, not a Lightroom bug. If you upload a raw file exhibiting the problem, rather than the edited TIFF, we can confirm that.
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
The problem never occurs in Photoshop. If I export from Photoshop or save as jpg then it does not show. It only ever shows in Lightroom.
Photo of John R. Ellis

John R. Ellis, Champion

  • 5134 Posts
  • 1458 Reply Likes
As I said above and in the original thread, Photoshop "incorrectly renders the final image as seen by LR and other apps (PS displays the image correctly)". 

When PS saves a multi-layer image in a PSD or TIFF, it creates a hidden compatibility layer that's the composite of all the layers, equivalent to the result of Layer > Flatten Image.  LR and other apps (such as Mac Preview) read the compatibility layer to display the image. PS itself doesn't display the compatibility layer -- it just creates it for use by other apps.

When the option Preferences > Performance > Legacy Compositing is off, the bug causes the feathered layer to be incorrectly rendered in the compatibility layer. Thus, the TIFF or PSD looks correct in PS but incorrect in LR and other apps.

When you save the image from PS to a JPEG (or any format that flattens the layers in the image), the bug doesn't occur. Similarly, if you reopen the PSD or TIFF and force it to be resaved, the bug doesn't occur.  It only occurs when you open a raw within PS, add a feathered layer, and then save it as a PSD or TIFF.
(Edited)
Photo of John R. Ellis

John R. Ellis, Champion

  • 5134 Posts
  • 1458 Reply Likes
Correction: It only occurs when you open a raw within LR PS, add a feathered layer, and then save it as a PSD or TIFF.
Photo of Iain McLean

Iain McLean

  • 15 Posts
  • 0 Reply Likes
So, why is that when Legacy Compositing is ON I still have the bug?
Photo of John R. Ellis

John R. Ellis, Champion

  • 5134 Posts
  • 1458 Reply Likes
If you upload a sample raw that triggers the problem, then Adobe will be able to reproduce it and determine the precise cause. As it stands now, the only known way to reproduce the problem is to leave Preferences > Performance > Legacy Compositing off.