You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(after zooming in onto this picture, pink window borders are visible)
This appears to happen due to effective width being 6 * 1.25 = 7.5, which is not an integer, resulting in rounding issues.
I don't know if it is an issue, considering it's not clear what the behavior should be here (fractional scaling rounding issues make everything tricky), but figured I would report it just in case.
System Information
niri version: niri stable 0.1.8
Distro: NixOS unstable
GPU: Intel UHD Graphics 620
CPU: Intel Core i5-8350U
The text was updated successfully, but these errors were encountered:
I suspect what's happening here is that negative struts are rounded to physical pixels, then the border size is also rounded to physical pixels, and these two roundings happen to result in 1 px of border being visible. I can't say off the bat whether this is something that can reasonably be fixed in the code (since borders are per-window and it doesn't make sense to take them into account in that particular spot). You could try adjusting the struts or the border width so that it works for your scale and setup.
With the following layout configuration (https://git.gay/sugar/nix-config/src/commit/aa22a9fbae6c1a675a462430809e1e19158a9be9/desktop/home-manager/user/niri.nix), borders are visible for maximized windows at 1.25x scale. This doesn't happen at 1x scale.
(after zooming in onto this picture, pink window borders are visible)
This appears to happen due to effective width being 6 * 1.25 = 7.5, which is not an integer, resulting in rounding issues.
I don't know if it is an issue, considering it's not clear what the behavior should be here (fractional scaling rounding issues make everything tricky), but figured I would report it just in case.
System Information
The text was updated successfully, but these errors were encountered: