ID 525692 - Right-clicking a Layer in a floating Mask/Adjustment Stack palette does not make it the active Layer

Follow

Problem summary
Right-clicking a Layer in a floating Mask/Adjustment Stack palette does not make it the active Layer
 
This can mean that attempting to share the Mask/Adjustment Stack's Layer instead shares the previously selected Layer..
 
Customer reported version
Mari 5.0v3
 
Customer reported platform
RHEL7
 
Steps to reproduce
 
1) Open any project

2) Create a Channel

3) Create some Layers in the Channel
 
4) Add a Mask Stack or Adjustment Stack to one of the Layers
 
5) Add at least one additional Layer in the Mask/Adjustment Stack
 
6) Close the Mask/Adjustment Stack palette
 
7) Select one of the Layers to make it active
 
8) Reopen the Mask/Adjustment Stack and right-click a Layer
 
Expected behaviour
The right-clicked Layer in the Mask/Adjustment Stack should become the active Layer:
 


 
Actual behaviour
Right-clicking the Layer does not make it active:
 

 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Mari 5.0v4 - Windows 10 - CentOS 7.9
Mari 5.0v1 - Windows 10
Mari 4.8v1 - CentOS 7.9
Mari 4.7v2 - Windows 10 - CentOS 7.9 - regression
 
Unable to reproduce bug in:
Mari 4.7v1 - Windows 10 - CentOS 7.9
 
Earliest version tested
Mari 4.7v1 - This issue doesn't appear in this version and has regressed

    We're sorry to hear that

    Please tell us why