SF-ADJUSTMENT Repeated description bug
Environment/Versions
- GIMP version: V2.99.7 nightly
- Operating System: Linux at least
Description of the bug
In a Script-fu script (.scm file) if the final argument of an SF-ADJUSTMENT control is set to 0, so that a slider is shown in addition to the spin box, the title of the control is repeated
Reproduction
Is the bug reproducible? Always
Reproduction steps:
-
For instance the following control: SF-ADJUSTMENT "Angle between arrow and wing in degrees" '(25 5 85 5 15 0 0)
Shows: Angle between arrow and wing in degrees: Angle between arrow and wing in degrees: followed by the (very short!) slider and then the spin box
If the final argument is 1 then the slider isn't shown and the spin box expands horizontally to occupy the space that was taken by the repeat of the description and the slider. No problem with this setting.
The standard filter "Filters/Decor/Coffee Stain..." shows the problem - "Stain" is repeated.
Expected result:
The descriptive string is shown only once even if the final argument is set to 0 so that the slider is displayed.