rounded-window-corners
rounded-window-corners copied to clipboard
Wrong corner radius scaling with HiDPI display
On HiDPI displays the corner radius is not scaled properly as I use a 200% scaling. And I can't just reduce the corner radius in the settings as I use two displays with different resolutions (one 1920x1080 and the other 3840x2160). I'm on wayland with experimental fractional scaling enabled. And this problem doesn't occur with mutter-rounded.
We can see in blue how the corner is supposed to be (it's pop shell active hint).
Try to set Corner Smoothing
to 0 in preferences page, to use the normal rounded corners. If it still not match the line, it means that there is a bug with scaling of rounded corners.
Corner radius seems to be multiplied by the global scaling, at least on Wayland.
Screenshots of the same window with the same corner radius of 12, corner smoothing of 0 at scaling levels 1x, 1.5x, 2x
And here's 2x scaling with corner radius 6 (12/2). Appears identical to 1x.
@piousdeer, the corner radius should be fixed in commit ca11494.
Now this extensions should use correct corners radius with fractional scaling in wayland.