r/FirefoxCSS • • 7d ago

Help Sidebar blur not working (Wayfire)

Hello! i'm having a problem regarding blur on Firefox. I'm using custom userChrome.css to make Firefox transparent and blur with wayfire on Arch Lxqt, all parts are transparent and blured, except sidebar and i don't know how to make it blured. Also, in Xfce with picom sidebar, with the same chrome.css is blured. Please, i need help!, Thank you!

2 Upvotes

9 comments sorted by

1

u/TraditionalTie4831 🦊 6d ago

Could you please post your code here?

1

u/Adryan19 6d ago edited 6d ago

This is what i have for sidebar:

#sidebar-box,

#sidebar-header,

#sidebar-main,

#sidebar {

background-color: transparent !important;

backgound-image: none !important;

box-shadow: none !important;

border: none !important;

outline: none !important;

}

1

u/LooseZaiets 6d ago

theres a typo in there, backgound-image is missing the r so that line just gets ignored. bigger thing tho, the panel inside the sidebar (bookmarks, history etc) is its own document with its own background, so add :root { --sidebar-background-color: transparent !important; } too and see if wayfire picks it up

1

u/Adryan19 2d ago

Thank you, but it doesn't work, i mean still no blur in sidebar

1

u/LooseZaiets 2d ago

is it see through and just not blurred, or still solid? if its see through thats wayland, not your css. firefox hands wayfire an opaque region for the parts it thinks are solid and the sidebar can land in it, so the compositor skips blur there. picom on x11 doesnt go by that, which would explain xfce working. try widget.wayland.opaque-region.enabled = false in about:config and restart. if its still solid then something inside the sidebar panel is painting over it, browser toolbox (ctrl+alt+shift+i) will show you which element

1

u/Adryan19 1d ago

It is transparent, but bookmarks pop up is blured and a little portion from right sidebar about 0,4 mm. Thank you again, i'll try that also

1

u/Adryan19 16h ago

This option widget.wayland.opaque-region.enabled = false, in my settings is already false, so doesn't work that either

1

u/LooseZaiets 7h ago

ok so its see through and only the blur is missing, that means your css is doing its job and the rest is between firefox and wayfire. the bookmarks popup blurs because its its own wayland surface. my guess is the sidebar content gets drawn into a separate subsurface and wayfire only blurs the main one. try gfx.webrender.compositor = false in about:config and restart, if nothing changes id take it to the wayfire blur plugin issues, not much css can do there

1

u/sifferedd FF/TB/Win11/SUMO contributor 5d ago

u/Adryan19 - ⬆️❓