Scroll break down at 2^23 pixel high (due to Cairo surfaces)
Steps to reproduce
see gedit#213 (closed) for an example of induced issue and a way to reproduce.
GEdit isn't very simple, although written in C. Would that help if I did write a program that creates a new window with a few yellow-background label that requests millions of pixel height?
Current behavior
In GTK3, when a window gets too high, it stops rendering correctly. Apparently GtkTextView get a black background and the content of a GtkBox is invisible.
Expected outcome
It is possible to open a large file
Version information
in my case, GTK3, version 3.24.12 on Alpine Linux (the package file, if that matters).
On the GEdit bug report, someone used « gedit 3.34.1, Gnome 3.34.1 and mutter 3.34.1+52+g403d8fcc6-1 on Arch Linux. » and experienced the issue too.
appears on GNOME/X11, GNOME/Wayland, and (in my case) Sway/Wayland
Additional information
no warnings appears in the terminal. Apart from this bug and from the interface not being very reactive, it did work fine.