Switching from GtkLayout to GtkViewport and GtkDrawingArea

Hello there,

I’m currently trying to switch Tau from a GtkLayout in a GtkScrolledView to a GtkViewport with a GtkDrawingArea as children in preparation to GTK4 (and so I can use cairo_get_clip_extents to only redraw destroyed areas and not the whole view).
However, it appears that the clip extents aren’t big enough, since the text in my application now clips, like so: https://dist.cogitri.dev/Peek%202019-08-31%2017-29.webm

A bit unsure what to do about that, maybe you happen to know something about this or how I could debug this?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.