tsujan / Kvantum

A Linux SVG-based theme engine for Qt and KDE
1.58k stars 149 forks source link

rename bug with enabled alpha channel base color #234

Closed varlesh closed 6 years ago

varlesh commented 6 years ago

Bug reproduced If use base.color with alpha channel on Dolphin: for example base.color=#30303082 result (rename test test to 123 123): image

varlesh commented 6 years ago

https://github.com/PapirusDevelopmentTeam/materia-kde/issues/18

varlesh commented 6 years ago

Theme: MateriaBlur.tar.gz

tsujan commented 6 years ago

if use base.color with alpha channel on Dolphin

Please never do that! Quoting myself in Theme-Making.pdfDealing with exceptions:

"(3) Always use an opaque color for base.color (under GeneralColors); otherwise, item-views of some applications might show what is “behind” them (because of a bug in those applications)."

Thanks!

varlesh commented 6 years ago

Maybe it's possible hacked? This style looking very good and added translucency for window with borders on all apps: image image

tsujan commented 6 years ago

The problem can happen anywhere, not just in Dolphin. Read Theme-Making.pdfDealing with exceptions to know why such problems happen.

tsujan commented 6 years ago

BTW, your theme is elegant. It's a shame that some apps don't support translucent colors completely.

tsujan commented 6 years ago

Good news:

I may have found a way to save your theme, as far as possible. I'll make a commit after some tests and will tell you when it's ready.

Reopening...

varlesh commented 6 years ago

Big thx @tsujan :)

tsujan commented 6 years ago

@varlesh Finding a workaround for all apps may be impossible but I'll try my best to add a workaround for Dolphin at least.

varlesh commented 6 years ago

ok :+1:

tsujan commented 6 years ago

Done! Please test the latest git Kvantum and tell me the result! If it's successful, you could tell your users to install the latest git Kvantum.

Please note that a translucent base color is still tricky and can result in strange things here and there. However, I liked the risk you'd taken. So, please tell me if anything goes wrong! I might not be able to find a workaround but I could try at least ;)

BTW, I think Kvantum is the only widget style that partially supports translucent base colors :)

varlesh commented 6 years ago

Ok, i try it now

varlesh commented 6 years ago

I check this with Dolphin and KTorrent and this worked fine!!!! You are a wizard and awesome!!! Very Cool. Big thx :smiley:

tsujan commented 6 years ago

Thank you for testing! In future, I might find a better way of detecting special widgets for removing base translucency from them.