Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.7, 6.8, 6.9.0, 6.9
-
None
Description
In Qt versions 6.7 and higher (including 6.9.0) the behaviour of ListView when "section" property defined is broken. In Qt 6.6.3 it works fine (so it is some degradation).
When you fill the list model with items and section property is defined for the first time everything displayed fine. If you clear the model and fill it with new values, sometimes old sections are displayed together with the new one. Seems like some cache wasn't clear.
To reproduce the issue I've created the small project with one button and ListView.
Build it by Qt 6.9.0
Press the button: list will be filled with items and sections without issues. Scroll the list and DragOverBounds it. Press the button again. Repeat the steps. From time to time the will be errors like on screenshots above (sections from the previous list). Especially in over bound areas.
If you try it on Qt 6.6.3 - there will be no errors.