Created attachment 158914 [details] Comparison: Behavior of QPushButton/QToolButton widgets with keyboard focus SUMMARY When a QToolButton has keyboard focus (and is not below the cursor), its icon gets inverted, making it barely visible. STEPS TO REPRODUCE 1. Set color scheme to classic Breeze or Breeze Light 2. Find a QToolButton with an icon 3. Use Tab key to move focus to that button 4. Move the cursor so that its position is not above the focused button OBSERVED RESULT Icon of tool button gets inverted, making it barely visible. EXPECTED RESULT Icon of tool button is not inverted. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Graphics Platform: X11 ADDITIONAL INFORMATION - See attached image for an comparison of QPushButton/QToolButton and focus/hover+focus states - The behavior does not occur with the Breeze Dark color scheme
Created attachment 158915 [details] Source code of demo application used for creating the attached comparison
Can you reproduce this issue in any KDE apps? I am unable to when I try.
(In reply to Nate Graham from comment #2) > Can you reproduce this issue in any KDE apps? I am unable to when I try. At first I only observed this behavior while writing own apps using code like in the attached C++ file. Prompted by your comment, and after some search, I also found an example in Kate/KWrite (both v23.04.1): Under "Settings" > "Configure Kate" > "Open/Save" > "Modes & Filetypes", the magic wand buttons next to the "Variables" and "MIME types" fields also show the described behavior.
Can reproduce the issue there too, thanks.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/breeze/-/merge_requests/549