Photoshop: Duplicating floating layer to new doc flattens the layer

  • 4
  • Problem
  • Updated 3 weeks ago
  • Solved
  • (Edited)
Create a document with only one layer, not background.
Fill the layer with gray, for example.
Take an eraser and wipe a large blurred hole in the center.
Select from the layer menu: Duplicate layer to new file.

The layer is duplicated flattened and, moreover, it is not correctly flattened.







Is this a known issue?
Photo of r-bin

r-bin

  • 59 Posts
  • 8 Reply Likes

Posted 3 months ago

  • 4
Photo of christoph pfaffenbichler

christoph pfaffenbichler, Champion

  • 1542 Posts
  • 311 Reply Likes
I can reproduce that, the New File is flattened. (21.1.2 on macOS 10.15.3)
This is irrelevant to me personally but I appreciate that the result seems unexpected and unintended. 
Photo of David

David, Official Rep

  • 3618 Posts
  • 618 Reply Likes
Hey Christoph and r-bin,
Maybe I'm reading this bug incorrectly, because I'm NOT seeing a problem on Mac 21.1.2.  Let me try to explicitly layout the steps:

1) launch PS and create a new, default-sized document
2) change the Background layer to a regular layer, but you still have a single-layer document
3) fill this single layer with gray
4) erase a hole in the layer
5) click Select > Duplicate Layer and then under Document choose "new" with any file name

I'm seeing two identical single layer files.  And when I copy one onto the other and set the layers as difference, I'm not seeing any issues.  What did I do differently?
Thanks,David
Photo of christoph pfaffenbichler

christoph pfaffenbichler, Champion

  • 1542 Posts
  • 311 Reply Likes
Your description seems accurate, the color is irrelevant, though. (see screenshots)


Photo of Tim Neeley

Tim Neeley

  • 18 Posts
  • 3 Reply Likes
I got the same results you did—then I tested it again only this time I added a transparent layer to the original and it worked fine:

Example 1:


Example 2:


So it looks like you have to have 2 layers in order duplicate your gray layer to a new file.
(Edited)
Photo of christoph pfaffenbichler

christoph pfaffenbichler, Champion

  • 1542 Posts
  • 311 Reply Likes
It seems the flattening only happens if the duplicated Layer is the lowermost one! 
Photo of christoph pfaffenbichler

christoph pfaffenbichler, Champion

  • 1542 Posts
  • 311 Reply Likes
With a Layer behind the duplicated Layer: 

With the duplicated Layer as the lowermost Layer: 
Photo of r-bin

r-bin

  • 59 Posts
  • 8 Reply Likes
This behavior breaks the script for clearing metadata in a saved file.

Duplicate a document with a merge into a new document.
Duplicate a layer from this file to a new document. Saving a file without garbage in metadata and others.


Photo of r-bin

r-bin

  • 59 Posts
  • 8 Reply Likes
If steps for reproduction are not clear, here is a video

https://yadi.sk/i/Xq4cmbLxTysipA

Photo of r-bin

r-bin

  • 59 Posts
  • 8 Reply Likes
UP
Photo of David Dube

David Dube

  • 14 Posts
  • 2 Reply Likes
When I follow your video example, my final image has an inside dissolve effect?  V21.1.2  This is with the Duplicate layer over the original and "Difference" Blend mode applied.
(Edited)
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 17097 Posts
  • 2914 Reply Likes
Oops. I take that back. Looks like it was working at least back in CS6. I'll see if I can track it down to a specific release. 
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 17097 Posts
  • 2914 Reply Likes
Official Response
This issue was fixed in 21.2.