Skip to content

Apply QFocusFrame to widgets regardless of focus reason

Ingo Klöcker requested to merge work/kloecker/fix-missing-focus-frame into master

This ensures that widgets get a focus frame when they regain focus because their window regained focus or when they get focus when their window is first opened.

@ndavis: I don't understand why the original code applies the focus frame only if the focus event is keyboard-related. Maybe the correct fix is to iterate the focus proxy chain regardless of the focus reason.

BUG: 450297

Kleopatra's New Key Pair wizard immediately after opening (with patch applied): Screenshot_20220215_125355.png

Kleopatra's New Key Pair wizard after opening with radio buttons (with patch applied): Screenshot_20220215_125432.png

Merge request reports

Loading