ID 240548 - Mari 3.1v3 - colorspace refresh problem between procedural layers & scalar masks

Follow

Problem summary
When switching between a colour procedural, and a mask on a paintable layer, the state of the colourspace is not updated until you switch between the paintable layer itself, and the colour procedural. This can be confusing for artists, and misleading when it comes to putting values down onto the canvas.

Customer reported version
3.1v3
Customer reported platform
Linux
Steps to reproduce

1)Create a project using the Nuke-Default config using any piece of geometry

2)Create a paintable layer, add a mask to it

3)Create a colour procedural

4)Select the colour swatch for the procedural node, note it's in 'Automatic: sRGB'

5)Select the mask, select the colour swatch for it, note it's in 'Automatic: Raw' as expected

6)Now select the colour procedural node again and check the colour swatch. note it is still in 'Automatic: Raw' 
Workaround
After selecting the mask, click on the paint layer, then the procedural node in order for the colour space to update correctly

Reproduced by support
Reproduced by Support in
3.1v3, 3.1v2, 3.1v1, 3.0v4, 3.0v1

Expected behaviour
For the colourspace to adjust according to which layer I am in, dependant on the node/layer type.

    We're sorry to hear that

    Please tell us why