Open edpil02 opened 3 years ago
There is a weird issue with alpha option in the color-schemes file: With alpha value in [Colors:Window] (BackgroundNormal) , menubar and toolbar don't follow titlebar color rule in contrary of what is explained in the Readme.md file.
Alpha value in [VW] (activeBackground) doesnt help but seems to reverse the titlebar color rule. Sorry for my english.
Get a good result after trying different alpha values.But a issue remains in the menubar ; only text regions are blurred.
I solve the issue
i modify the line : painter->fillRect(rect, _helper->alphaColor(option->palette.color( QPalette::Window ), opacity/100.0) ); with painter->fillRect(rect, _helper->alphaColor(option->palette.color( QPalette::Window ), opacity) ); in bool Style::drawMenuBarEmptyAreaControl() fonction.
I solve the issue
i modify the line : painter->fillRect(rect, _helper->alphaColor(option->palette.color( QPalette::Window ), opacity/100.0) ); with painter->fillRect(rect, _helper->alphaColor(option->palette.color( QPalette::Window ), opacity) ); in bool Style::drawMenuBarEmptyAreaControl() fonction.
Can't find this line in lightlyblurhelper.cpp, What file is this line in?
/master/kstyle/lightlystyle.cpp line 4998
4996 // draw background 4997 int opacity = _helper->titleBarColor( true ).alphaF()*100.0; 4998 painter->fillRect(rect, _helper->alphaColor(option->palette.color( QPalette::Window ), opacity/100.0) );
After reading your discussion : "You'll have to change the current color scheme (~/.local/share/color-schemes) for that , in the [Colors:Window] section, add a fourth value to BackgroundNormal, that is the transparency. I don't know if this will work if you are not running plasma, because Lightly, like breeze, still depends a lot on kde stuff."
I made a try with dolphin. All the window become blur except the toolbar which remains opaque.