Summary: | The Breeze theme does not obey the background colour on QPushButton widgets that Qt applications set using style sheets. | ||
---|---|---|---|
Product: | [Plasma] Breeze | Reporter: | Jasen Borisov <tajjada> |
Component: | QStyle | Assignee: | Hugo Pereira Da Costa <hugo.pereira.da.costa> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | griffinvalley, hugo.pereira.da.costa |
Priority: | NOR | ||
Version: | 5.4.2 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
URL: | http://imgur.com/a/X5hSK | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jasen Borisov
2015-10-31 02:13:30 UTC
So. Breeze does honor the style sheet, except for focused buttons (and mouse-over), because, unlike other themes, we render focus (and mouse-hover) by painting the full button with the said color (whereas some sort of outline is used in other themes). In principle, the style sheet could also re-define the "highlight" color, (which in turn would be honored), except that ... we do not use the highlight color from Qt palette, but Focus and Hover colors from KDE's palette. And these, as far as I know, cannot be set in a stylesheet. The other possibility that I can think of, is to blend the focus with the background ... In any case, i'll investigate some more ... I came across this bug too... Might it be an idea that instead of using the 'hover' and 'focus' colors, you just refer to the highlight color instead? These are virtually the same for all three breeze colorschemes, so I am a little confused why it is necessary beyond semantics? |