Created attachment 146758 [details] Kleopatra's New Key Pair wizard immediately after opening SUMMARY *** Focussed QCommandLinkButton lacks focus indicator when window is opened or regains focus. This can be reproduced with Kleopatra. This problems affects all widgets that use a focus frame. *** STEPS TO REPRODUCE 1. Start Kleopatra. 2. Select File->New Key Pair... OBSERVED RESULT A dialog opens with two large buttons (QCommandLinkButton). The first button does have input focus, but there is no visual focus indicator. If you press Tab or Down, then you will observe that the second button is now marked as having focus. EXPECTED RESULT The first button should indicate that it has focus when the dialog is opened. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed 20220210 (available in About System) KDE Plasma Version: 5.24.0 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION I'll add some screenshots. I also add screenshots showing a similar issue for radio buttons (I patched Kleopatra to use radio buttons instead of QCommandLinkButtons in order to check whether the problem is specific for QCommandLinkButton or not).
Created attachment 146759 [details] After pressing Down to move focus to second button
Created attachment 146760 [details] Kleopatra's New Key Pair wizard after opening with radio buttons
Created attachment 146761 [details] After pressing Down to move focus to second radio button
A possibly relevant merge request was started @ https://invent.kde.org/plasma/breeze/-/merge_requests/181