GtkColumnView first rows refresh as blank row

GTK4.12.
Using GtkColumnView :
If there is more than 250 approximately rows, when I move down with keyboard down arrow, the first row became blank.
If I go on, the second row become blanked etc…
Bind function is call, but nothing about these rows.

I found the problem by miself.
It is because there is no scrollbar who encapsulate GtkColumview.
GtkColumnview has a big height.
Probably greater than monitor size.
That generates problems when GTK row are refreshed.

Refresh problem occur, if there is no scrollbar who directly encapsulate
GtkColumView.
Scroollbar must have GtkColumView as child.

Example:
Cscroollbar
—hbox
—GtkColumnView
causes refresh problems
—hbox
----Cscroollbar
-------GtkColumnView
It is Ok.

“Another important requirement for views is that they need to know which items are not visible so they can be recycled. Views achieve that by implementing the GtkScrollable interface and expecting to be placed directly into a GtkScrolledWindow.”

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