Closed nda-cunh closed 2 years ago
I just set the windows background
to rgba(0, 0, 0, 0,5)
through CSS
Ah yes... but normally the css is from 0 to 255 not 0.5 on widgets out of layershell but it doesn't matter, it works!
so there is still the problem with the fact that the composer doesn't put blur on transparent widgets when they are on layer shell
with layer shell
without layershell
Ah yes... but normally the css is from 0 to 255 not 0.5 on widgets out of layershell but it doesn't matter, it works!
The first 3 are R,G,B which can be from 0 to 255 while the last one stands for Alpha which goes from 0 to 1
[Mozilla CSS doc](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgba())
okay I see so it's GtK who made a mistake so for the CSS I'll take it.
for the blur I have to ask wayfire or it comes from layershell?
I'm not familiar with the layer shell code so I don't know. Hopefully somebody else does :)
The blur comes from Wayfire. You probably have not set up all surfaces to be blurred, see https://github.com/WayfireWM/wayfire/issues/1399 for a similar issue and a solution which should work for you.
thank, i close this :)
it is impossible to assign alpha values to gtk-layer-shell widgets. example:
create a window with rgba(250,0,0,1); will create a completely opaque window however if I put rgba(250,0,0,0); it will create a completely transparent window! This shows that layershell is compatible with transparency and that it is probably a bug.
There is also the fact that my compositor can't blur the transparent widget created by layershell. (But I think it's the same problem)
Translated with www.DeepL.com/Translator (free version)