Graphical corruption of CSD windows when tiled due to changing _GTK_FRAME_EXTENTS
How to reproduce:
- Log into a GNOME/X11 session
- Open
nautilus
(GNOME Files) - Use
Super+Arrows
to maximize and side-snap the window
Also see reproduce steps from #2687 (closed)
What happens:
The window shows graphical artifacts. Notes:
- Happens only when windows use CSD (can be tested by running
gtk4-demo-application
with the env variableGTK_CSD
set to0
or1
) - It's more severe in GTK4 applications, but shows (very lightly) in GTK3 applications as well
- Happens also when using the
cairo
GSK renderer
That issue was also reported in reddit/GNOME
- Intel graphics
- Linux 6.1.2
- Mesa 22.3.2
- Mutter 43.2
- Gnome Shell 43.2
- GTK 4.8.3
Edited by Marco Trevisan