Histogram export uses free-form text entry for enum
Environment/Versions
- GIMP version: 2.99.18
- Package: Flatpak and compiled from source
- Operating System: Linux
Description of the bug
In GIMP 2.99.18, Histogram Export uses a text entry for entering the string enum output_format. This means users have to write in "pixel count", "normalized" or "percent", and can write something other than the valid options.
In 2.10.36 the 3 options were presented as a group of radio buttons.
Above: Output format in 2.99.18+
Above: Output format as radio buttons in 2.10.36
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open an image
- Colors->Info->Histogram Export
- Output format is given in a text entry
…
Expected result: A dropdown or radio button to easily choose one of the three options and not being able to enter erroneous options.
Actual result: The options have to be written in a text entry.