Labels with accelerators in Script-Fu scripts have tooltips with visible underscore
Environment/Versions
- GIMP version: GIMP_2_99_16-1155-g0bca939d
- Package: Compiled from source
- Operating System: Linux
Description of the bug
V3 ScriptFu scripts seems to automatically add tooltips to option labels. If these labels contain accelerators _
, these accelerators work as expected, but are also shown as an actual underscore in the corresponding tooltip. First seen in cc1f1b59 (comment 1990199)
Tooltip in the Line Nova script.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open an image
- Open a v3 script with accelerators, e.g Filters->Render->Line Nova
- Hover over an entry to see a tooltip with visible underscore.
…
Expected result: Accelerator sign _
not shown in tooltips
Actual result: _
is shown in the tooltips