ID 457963 - Exporting a layer as a psd file from Mari will create a white frame if opening outside of Photoshop

Follow

Problem summary
When exporting a layer from Mari as a psd file, programs outside of Photoshop will interpret this export as a full white render

The cause of the issue appears to be related to the layer being embedded into the psd file, but not set as the primary (RGBA) layer.

Customer reported version
mari.4.6v4

Customer reported platform
windows10

Steps to reproduce

1) Open a new Mari session, and create the example head project

2) Within the 'Layers' panel, right-click the 'Diffuse_Colour' layer, selecting 'Export > Export Selected layers'
 
3) When the Export Manager opens, set a file location and rename the template extension from '.tif' to '.psd', then select 'Export All Patches'.

4) Once the psd files are generated, attempt to preview them, or open them in a program that interprets psd files (that is not Photoshop), for example Nuke or Maya.
Result: The file will be interpreted as a full white render

Expected behaviour
layers exported as psd files should contain the layer in the RGBA channel and not embedded as a separate channel.

Actual behaviour
layers exported as psd files result in a full white render in the RGBA channel.

Workaround
There are two workarounds for this issue:

1) Open the psd file in Photoshop and resave

2) Open the exported psd files in a program that interprets photoshop layers (eg. Nuke) shuffle the channel to RGBA and re-render.

Reproduced by support
This bug has been reproduced in:
Mari 4.6v4 - Windows 10 - CentOS 7
Mari 4.6v1 - Windows 10
Mari 4.5v1 - Windows 10
Mari 4.0v1 - Windows 10
Mari 3.0v1 - Windows 10
Mari 2.6v5 - Windows 10 - CentOS 7

Earliest version tested
Mari 2.6v5
- This issue appears to be in all versions of the product

    We're sorry to hear that

    Please tell us why