Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-137172

"section" property in ListView behaviour is broken (degradation)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.7, 6.8, 6.9.0, 6.9
    • None
    • All

    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.

      testList.zip

      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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            alexxey593 Stolyarov Aleksey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes