https://bugs.kde.org/show_bug.cgi?id=401644

--- Comment #6 from Filip F. <tyx...@gmail.com> ---
(In reply to David Edmundson from comment #5)
> >Is it technically possible for a desktop theme to go
> 
> Not really.
> 
> --
> 
> 
> Lets test first if it is caused by this opacity shenanigans before we jump
> to any solutions.  Filip, just find one of the bits of code and hardcode an
> opacity and colour override.

Okay, so let's test it with the Breeze Transparent Dark theme and Kickoff
application subtitles.

This is what Kickoff looks like when superimposed over Kate:
https://i.ibb.co/7NbQzH1/Screenshot-20181207-185057.png

If we open KickoffItem.qml and at line 144 comment out "opacity: isCurrent ?
0.8 : 0.6" we get white text back:
https://i.ibb.co/tBYMVpx/Screenshot-20181207-185132.png

We can also try to hardcode a color, such as Breeze Dark's inactive text color
(#bdc3c7): https://i.ibb.co/S5CVnfh/Screenshot-20181207-185238.png

But in my tests I've found that calling upon the inactive text color of color
schemes would not look the best with some schemes. 

So far I've had moderate success with this piece of color code I took from
Nate's separators patch: isCurrent ? Qt.tint(PlasmaCore.ColorScope.textColor,
Qt.rgba(PlasmaCore.ColorScope.backgroundColor.r,
PlasmaCore.ColorScope.backgroundColor.g,
PlasmaCore.ColorScope.backgroundColor.b, 0.1)) :
Qt.tint(PlasmaCore.ColorScope.textColor,
Qt.rgba(PlasmaCore.ColorScope.backgroundColor.r,
PlasmaCore.ColorScope.backgroundColor.g,
PlasmaCore.ColorScope.backgroundColor.b, 0.2))

It fixes transparent themes, Breeze remains looking the same, however Breeze
dark has lighter subtitles than before :/

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to