Home GnuPG

Draw focus indicator for labels only if focus was changed with keyboard

Description

Draw focus indicator for labels only if focus was changed with keyboard

Many Qt styles, e.g. the Windows style and the Fusion style, don't draw
the FrameFocusRect primitive if the focus wasn't changed with the keyboard.
Other applications also behave like this. So, we don't add a focus frame
unless the widget received focus by the keyboard.

Details

Provenance
ikloeckerAuthored on Sep 15 2022, 12:28 PM
Parents
rKLEOPATRA5b165a2dc756: Add missing include
Branches
Unknown
Tags
Unknown
Tasks
T6111: Kleopatra: Improve focus indicator for text labels