Inconsistency in color balance iop
When "color control sliders" set to "HSL" or "both" modes the max value for the saturation sliders of offset/lift, gamma/power, and gain/slope is 25%. But after using RGB sliders in either "RGBL" or "both" modes, the max value becomes 100% for those saturation sliders.
Steps to reproduce:
1. Open a photo in darkroom
2. Enable color balance iop
3. Increase the saturation sliders to their max values which is 25%
4. Change "color control sliders" to "both" mode
5. Change one of RGB sliders to their max/min values
6. Now the max value of the saturation sliders are 100%
#1 Updated by Aurélien PIERRE 6 months ago
It's not a bug.
Saturation sliders are limited to 25 % (hard range) because that's where real-life values live. But when you edit in RGB, the saturation depends on the 3 RGB parameters and is updated live, so if you put the RGB sliders all the way to their max, the saturation is adjusted consequently. Saturation sliders have a soft-range of [0; 100] %, so once you have used high values, the sliders get resized accordingly.
What matters is the HSL <-> RGB parameters conversions are accurate and fully-reversible.