marcof-nikogo / wf-external-decoration

A wayfire decoration plugin that uses a external executable
MIT License
8 stars 1 forks source link

Window decoration (in all themes or none) renders over a non-transparent window background #6

Open lukefromdc opened 7 months ago

lukefromdc commented 7 months ago

On a 4K display and a scaling factor of 2.0, using Debian's libwlroots12_0.17.1-2_amd64.deb and wayfire_0.8.0+git20240110-1_amd64.deb on Debian Unstable in a mate-wayfire session, I am seeing a visible, probably 1px wide border outside the theme border and rectangular "ears" over rounded top left and right corners, all rendered in black (0,0,0). If this underlying window was composited as (0,0,0,0) it would be entirely transparent and this issue would be fixed.

Sorry if this seems overwhelming with multiple issues, but I just tested this for the first time last night and honestly am quite impressed even with these issues. No rush, these are just what I see as the immediate problems. Poking around the code myself too, but of course just started with this one. Got past https://github.com/marcof-nikogo/wf-external-decoration/issues/4 last night, but didn't find a fix for the scaling issue after multiple experiments and haven't researched the root of this one yet.

lukefromdc commented 7 months ago

Note that using or not using the shadow plugin has no effect on this, and at the moment the shadow plugin seems to be broken

lukefromdc commented 7 months ago

Just found that this background is not always black but rather follows something in the theme. Its black in my UbuntuStudio_Legacy theme https://github.com/lukefromdc/gtk-theme-ubuntustudio-legacy and grey in Menta.