pinentry-fltk: Keyboard shortcuts are not recognized
Closed, ResolvedPublic


The FLTK variant of pinentry currently doesn't handle keyboard shortcut hints.
With e.g. "_OK" the button label is set to "_OK" literally (and the shortcut via 'O'-Key doesn't work).
With the attached patch the '_' hint is converted to '&' (which is used by FLTK for that purpose).
The underscore can be escaped by doubling ("__") to get a literal '_' in the label.

micha created this task.Jan 23 2019, 1:56 PM
werner triaged this task as Normal priority.Jan 25 2019, 2:00 PM
gouttegd claimed this task.Feb 8 2019, 12:23 AM
gouttegd closed this task as Resolved.Feb 10 2019, 7:38 PM

Patch applied, thanks.

If you intend to submit more patches to Pinentry or any other GnuPG component, please consider sending a DCO to gnupg-devel as explained in gnupg/doc/HACKING.