Window content shrinking in some GTK apps

I've been having some problem lately with windows "shrinking". They get a wide empty inner border when not in focus, but only if they are not the only window on the workspace, or otherwise maximized (i.e. in a tabbed parent that takes the whole workspace).

It only happens in i3. I also tested it in gnome and apps don't do that.

Examples (I'm using Evince here, but I've seen it happen with Firefox, Thunderbird and others)

Only window on workspace:

Multiple windows on workspace, unfocused. Note the inner border:

Multiple windows, focused:

I know it's not necessarily i3's fault, but any ideas on what could be the culprit?

5 points · 3 comments · view on lemmy.world

3 Comments

amarok@discuss.tchncs.de · 1 pts · 1y (1 reply)

What happens if you remove the gaps between windows? Just guessing, but maybe the bug simply takes the gap width and uses it for the inner padding? I don't use gaps at all and I've never experienced this issue. (Docs: https://i3wm.org/docs/userguide.html#gaps)

iacus@lemmy.ml · 1 pts · 1y

Removing gaps has no effect on this behavior...

Still happens even with the basic Adwaita theme

iacus@lemmy.ml · 1 pts · 352d

Seems to be related to the GTK theme (Arc-Dark). Changing it gets rid of this behaviour