ID 367105 - Sliders for certain colour adjustment layers are in the incorrect position when their value is 0.0

Follow

Problem summary

Sliders for certain colour adjustment layers are in the incorrect position when their value is 0.0 

This seems to affects the Hue Shift slider for HSL, HSV and Hue Shift adjustment layers and all of the sliders in the Color Balance adjustment layer.

When reopening files in which the slider's values have been set manually to 0.0, the sliders have incorrect position again.


Customer reported version

Mari 4.x


Customer reported platform
windows10


Steps to reproduce


1) Open Mari 4.x

2) Open an example project 

3) Create either Hue Shift adjustment layer from the Layers palette toolbar


4) The Hue Shift settings slider does not represent the correct value of 0.0


Workaround

Use the arrow keys to adjust the values 


Reproduced by support
This bug has been reproduced in:

Mari 4.2v1 - CentOS 7 - Windows 10 

Mari 4.1v1 - CentOS 7 - Windows 10 

Mari 4.0v1 - CentOS 7 - Windows 10 - regression


Unable to reproduce bug in:
Mari 3.4v3 - CentOS 7 - Windows 10 


Earliest version tested
Mari 3.4v3 - This issue no longer appears in this version and has regressed

Expected behaviour
The slider is supposed to represent value 0.0 




Actual behaviour
The slider represents a different value from 0.0 




    We're sorry to hear that

    Please tell us why