Like so:
In PhotoLine switching or converting to a linear gamma affects all the colour palette entries as well:
While strictly spoken from a mathematical or colour management workflow this might seem correct behaviour, as an artist we rely on colour palettes to remain the same whether we work in linear or non-linear mode, because the primary reason to be working in linear mode is to avoid the broken internal representation of how most design apps treat RGB code values by mis-converting light ratios via broken calculations.
This is why Photoshop has that arbitrary "linear blending" preference option to circumvent the broken blend math.
Krita respects the digital artist's workflow by AVOIDING to change the colour palette values from the outset, and even when we work in linear mode and thereby allow the light to blend naturally, we can still rely on the colour palette entries to be 'correct' - perceptually correct. Because working with a linear gamma when selecting colours just doesn't make sense in an artist workflow. That is not how reality works.
As Troy Sobotka[1] mentions:
In my opinion allowing an image editing / digital artist application to affect the colour palette entries based on the colour profile and its gamma setting is just plain wrong. The colour values should be converted to stick perceptually to their original intent.Linear light transport is crucially important in all DCC pixel compositing math because the RGB code values always represent light, and if the code values aren’t properly converted to light ratios, bad, awful, no-good math results. RGB code values always represent light emissions.
Blending, smudging, generic painting, compositing, blurring, and any other operation where pixels are being manipulated absolutely must be performed upon RGB values that maintain a radiometric linear light transport model set of ratios if we hope to have it model / emulate the experiential learned “correct” results from our physical reality around us.
Because any digital artist is going to have an extraordinarily hard and frustrating time when their carefully selected colour palettes become completely unusable just because they need to avoid the wrong broken blend math when working in non-linear gamma colour modes. I cannot work with the same colour palette between Krita and PhotoLine now. And the colour values in PhotoLine make no sense whatsoever, because the entire palette is broken.
Krita does it right. PhotoLine does it wrong (sorry).
That said, I can see that there is a case to be made (from a purist's math perspective) that some here would argue against all this, so here is my request:
PLEASE include at the very least an option in the colour setting to control how the colour palette behaves when the user switches to linear mode.
In case some here do not understand the issue that I am writing about - see for yourselves:
Wrong broken blend math

Correct blend math

[1] https://hg2dc.com/2019/07/21/question-9/