hyprland-plugins
hyprland-plugins copied to clipboard
Hyprbars: bar_precedence_over_border = true leaves gaps
Details
When using the bar_precedence_over_border = true in hyprbars.
With hyprland config containing rounding and a border
general {
border-size = 3
# ...
}
decoration {
rounding = 12
# ...
}
There are gaps between the bar and the actual windows (image attached for clarification)
I noticed this issue today, and I believe this issue actually occurs in the following situation:
- Blur is enabled in Hyprland, and the window in question is affected by blur
- Rounded corners are enabled, and the window in question has rounded corners
The setting bar_precedence_over_border I believe doesn't actually impact the issue but does conceal this issue if:
bar_precedence_over_borderis set tofalse- The border is
1or more - The border is fully opaque (if the border is partially transparent, this gap can still be seen)
If any of the above settings aren't in this alignment while blur is enabled with rounding corners, then the issue becomes visible. A very small (1px? 2px?) increase to rounded corner area covered by the titlebar should conceal this area if the titlebar is "above" the window. If there's a way to disable the rounding on just the top corners of windows with Hyprbars attached, that could also do the trick, but I don't know if rounded corners can be set off for specific corners internally to Hyprland.
Side note: If corner rounding could be turned off for just the top window corners, an option for an unrounded boundary between the Hyprbar and the window it's attached to could be a nice aesthetic option.
* Blur is enabled in Hyprland, and the window in question is affected by blur
My configuration has blur disabled and I still have the issue.
My configuration has blur disabled and I still have the issue.
Interesting, it might be happening under other circumstances as well - what scale are you using? My observations with blur were made with scaling set to 2, and I wonder if fractional scaling without blur might see the issue
I am at 1.25 scale
Bump. This is the case for me too, and blur isn't the issue here. Hope this gets fixed soon