Hi Heiko,

Heiko Tietze schrieb am 18.08.2026 um 13:32:
To summarize: the UI looks good, the text has room for improvement

* the typelabel should vertically align with the radio button list (Alignment and Padding > [x] Vertical = 0)

* HSL increasing / decreasing is not only hard to understand for a11y but every user; add the tip as ordinary tooltip (Common > Tooltip) and use the Labeled By / Label For flags to bind the radio buttons to the typelabel

Exactly that is my problem. I do not know how to write it.


* the tooltip text could be rephrased
   + RGB: "Interpolates linear in each of red, green, blue component"
      =>  "Change the red, green, blue color"
  + HSL+: "Interpolates in increasing color angle direction of the color wheel"
       =>  "Adjust hue and saturation"
  + HSL-: "Interpolates in decreasing color angle direction of the color wheel"
       =>  "Adjust hue and lightness"

* HSL increasing vs. decreasing is obviously unclear to me

The suggestions would be wrong in content. All three options change red, green and blue color. They differ in how they do it. It might become clearer with an example:

Start color Red #FF0000 = RGB(255;0;0)
End color Cyan #00FFFF = RGB(0;255;255)
duplicates 5.
Numbering the shapes with i={0,1,2,3,4,5}
Using RGB:
For each of red, green, blue the calculation is:
color in shape i = start color + i/5 * (end color - start color)
That results in sequence 255 204 153 102 051 0 for red
and sequence 0 51 102 153 204 255 for green and blue

Using HSL, the RGB values are first converted to the HSL color model. In this model H means hue and is the angle in a color wheel. It has red(0°), yellow(60°), green(120°), cyan(180°), blue(240°), magenta(300°). Interpolating in HSL color mode means interpolating along an arc. From red to cyan there exist two arcs. One has increasing angles and goes over yellow and green. The other has decreasing angles and goes over magenta and blue.
Interpolating increasing would result in the color angle sequence
0° 36° 72° 108° 144° 180°
Interpolating decreasing would result in the color angle sequence
0°(=360°) 324° 288° 252° 216° 180°.
Saturation and lightness are interpolated linear. In the example saturation is always 100% and lightness is always 50%.

Using interpolation in HSL color model results in rainbow-like sequences. Using interpolation in RGB color model results in sequences with middle of the intermediates shapes is near to gray.

How to put that into a tooltip text?


On 18.08.26 12:14, Regina Henschel wrote:
Perhaps sent me an improved copydlg.ui file?Only if you share the patch somewhere, ideally Gerrit :-)

I'm not there yet. I just finished the HSL interpolation method itself. I still need to change the implementation of the dialog to use it, which is the larger task.

Kind regards,
Regina

Reply via email to