wiki/Application-Issues: Mention Waybar black corners
Browse files at this commit05337ce85560efc4d20cc23e9452a1e1f360007dParent: c9e85a01 changed file +9 -0
docs/wiki/Application-Issues.mdmodified+9 -0
| @@ -93,3 +93,12 @@ window-rule { | |||
| 93 | default-floating-position x=10 y=10 relative-to="bottom-right" | 93 | default-floating-position x=10 y=10 relative-to="bottom-right" |
| 94 | } | 94 | } |
| 95 | ``` | 95 | ``` |
| 96 | + | ||
| 97 | +### Waybar and other GTK 3 components | ||
| 98 | + | ||
| 99 | +If you have rounded corners on your Waybar and they show up with black pixels in the corners, then set your Waybar opacity to 0.99, which should fix it. | ||
| 100 | + | ||
| 101 | +GTK 3 seems to have a bug where it reports a surface as fully opaque even if it has rounded corners. | ||
| 102 | +This leads to niri filling the transparent pixels inside the corners with black. | ||
| 103 | + | ||
| 104 | +Setting the surface opacity to something below 1 fixes the problem because then GTK no longer reports the surface as opaque. | ||