[GTK4] GtkScrolledWindow flickers when scrolling
Description
When scrolling the vertical bar of a GtkScrolledWindow, the content of the widget may flicker, as well as the scrollbar track.
It is more noticeable in GtkFontChooserDialog, but (I guess) it can be perceived in any widget inside a GtkScrolledWindow.
Steps to reproduce
- Open GTK4 Demo
- Scroll carefully the demos on the sidebar
OR
- Open GTK4 Demo
- Search for "pickers" and run it
- Open the font chooser
- Scroll carefully
Current behavior
The ScrolledWindow widget flickers, sometimes repeatedly.
Expected outcome
Not to flicker.
Version information
- OS: Arch Linux with Linux 6.0.1-arch2-1 (x86_64)
- DE: GNOME 42.4
- GTK: 4.8.1