ID 354441 - Layerstack does not update when copying layer from one floating palette to another

Follow

Problem summary
Copied layer is not visible when copying a layer from one floating palette to another floating palette using the alt-drag mechanism (Windows / Linux)

Customer reported version
3.3v1
Customer reported platform
n/a

Steps to reproduce

1) Open Example Head

2) Create a procedural color layer with value (for visibility)

3) Create an adjustment stack ontop of the color layer

4) Within the adjustment stack, create two adjustment layers i.e.: Levels and HSV. Adjust each layer so that their properties are obvious on the shader.

5) On the HSV Layer, right click > layer mask > add mask > hide all. Then create a mask stack for this layer.

6) In this mask stack, create a new layer called 'test' and paint some strokes for visibility.

7) Repeat step 5 for the Levels adjustment layer and create a new layer in it's mask stack called 'Layer 2'. Paint some strokes and bake down.

8) Open both mask stacks and using the [Alt]+left mouse drag button, drag the layer 'test' from one mask stack to the other, above 'Layer 2'.
Note: The shader of example head updates but the layer is not visible in the mask stack UI.

9) Delete 'Layer 2' to force the mask stack to refresh.

10) 'Test1' (or 'Test copy') will now appear.
Note: Undo your action to retrieve 'Layer 2' and 'Test' will remain in the stack as expected.

Workaround
Docked layer stacks seem to work as expected.

Reproduced by support
Mari 4.1v1 - Win 7, CentOS7
Mari 4.0v1
Mari 3.4v1
Mari 3.3v1 
Mari 3.1v1 
Mari 2.6v5 - Win 7, CentOS7

Earliest version tested
Mari 2.6v5 - Win 7, CentOS7

Does not occur on:
OSX 10.12.4

Expected behaviour
The layer should appear copied over in the stack without needing to force update the layers.

Actual behaviour
The shader updates as expected but the layers do not update in the UI
 

    We're sorry to hear that

    Please tell us why