Skip to content

Take child visible into account (cssnode)

Benjamin Berg requested to merge benzea/take-child-visible-into-account into gtk-3-24

Otherwise e.g. a spinner inside a GtkStack will trigger wakeups with 60Hz even though it is completely invisible because a different stack page is selected.

Seen a lot in fractal, which uses the pattern of having a GtkStack with a spinner and the actual UI a lot. In that case, the code would need to be changed to explicitly show/hide or start/stop the spinner every time it is shown. And there are a lot of places using this pattern.

Merge request reports

Loading