Color Picker do not show correct Alpha value
Environment/Versions
- GIMP version: latest development version (git commit 23da87aa)
- Package: meson-built of latest development version.
- Operating System: All
Description of the bug
The colour picker tool shows incorrect value of Alpha.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Make 1-pixel image.
- Paint it with a colour (say r=255, g=0, b=0).
- Set the opacity of layer to 50% followed by adding alpha channel to layer.
- Now in channel tab, the alpha channel is having a grey shade. However, colour picker will show alpha value to be 255.
However, if we export the image as PNG and open the PNG file, then colour picker reads the correct alpha value (i.e., 128).
…
Expected result: The colour picker window should show 128 as alpha value.
Actual result: The colour picker window shows 255 as alpha value.
Edited by Mayank Suman