ID 439251 - [C] Photoshop: Plugin deletes too many layers in some scenarios when sending to Flix, resulting in blank panels

Follow

Problem summary
When sending panels to Flix via the CEP, panels may come in blank if a group containing a locked layer is present in the PSD. There are multiple combinations in which the locked layer may be an issue, including but not restricted to:
- Layer Comp is applied to a layers' Visibility, and both the group and the layer are not visible.
- Layer Comp is applied to Visibility and Position, the group is visible but the locked layer is invisible.
 
Customer reported version
Flix 6.3.3
 
Steps to reproduce
Note: Depending on the group order in the layer stack, the bug may or may not reproduce
1) Create a PSD with 3 groups, each containing one layer. 
2) Lock layer 3 (which should be contained in group 3).
3) Make group one visible, but the layer it contains invisible.
4) Make both group 3 and layer 3 invisible.
5) Create a Layer Comp which applies to layers' Visibility.
6) Send this to Flix using the "Selected Layer Comp" button from the CEP.
 
Expected behaviour
Panel that comes into Flix looks like what is seen in Photoshop.
 
Actual behaviour
Panel is blank in Flix.
 
Workaround
Avoid locking layers if possible.
 
Reproduced by support
This bug has been reproduced in:
6.3.3 - macOS 10.14 Client - PS 20.0.6

    We're sorry to hear that

    Please tell us why