ID 372648 - Gradient tool is using different colorspace

Follow

Problem summary
The Gradient tool is using different colorspace than the picked colors from the color picker. 



Customer reported version
4.2v1

Customer reported platform
Windows 10
 
Steps to reproduce

1) Open Mari and an example project

2) Choose the Gradient Tool and go to Tool Properties

3) Under Texture choose End and Start colors 

4) The Gradient Tool preview and painted colors are different than the ones that have been picked



Workaround
Unknown. 

Reproduced by support
This bug has been reproduced in:
Mari 4.2v1 - Windows 10 - CentOS 7 
Mari 4.1v2 - Windows 10 - CentOS 7 

Unable to reproduce bug in:
Mari 4.0v4 - Windows 10 - CentOS 7 - regression
Mari 3.4v1 - Windows 10 
Mari 2.6v5 - Windows 10 

Earliest version tested
4.0v4 - This issue no longer appears in this version and has regressed

Expected behaviour
The Gradient tool should use the same colorspace as the color picker

Actual behaviour
The Gradient tool is using a different colorspace than the picked colors

    We're sorry to hear that

    Please tell us why