flexagoon / rounded-window-corners

A GNOME extension that adds rounded corners to all windows
GNU General Public License v3.0
213 stars 10 forks source link

Fractional scaling causes windows borders to behave strangely when resized #33

Open AnthemV opened 2 months ago

AnthemV commented 2 months ago

If fractional scaling is enabled in Mutter's Wayland session with scale-monitor-framebuffer, windows behave unpredictably when resized at scales greater than 100%. They flicker between having correct borders, borders that are a pixel too large, or borders that have a pixel worth of space between them and the window.

Note that I'm using Firefox for these examples, but it occurs with all apps that are rounded by the extension.

100% Scaling 125% Scaling
image Screenshot from 2024-07-12 22-45-34

Video

https://github.com/user-attachments/assets/e9dbc406-b82a-4c16-bb16-d8531c3b7508

System Details

Extension Settings

![image](https://github.com/user-attachments/assets/697d69c7-b065-47d1-945a-8a49795258e2)

LSeelig commented 2 months ago

I experience this as well. I adjust the border for qt apps, but there isn't an obvious solution for gtk.