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

ListView creates and destroys delegates infinitely under certain conditions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.7
    • 5.1.0 Beta 1, 6.4.0 Beta1
    • None
    • OS X 10.7.4
    • All
    • af24ed58c (dev)

    Description

      You can see this with the same test as in https://bugreports.qt-project.org/browse/QTBUG-31203. The lack of an incubation controller is what makes it hang while it's doing that. But with or without the IC, if you click the button to increase the delegate height, flick down and then back up again, you will see the messages over and over about delegates at the same index being created and destroyed. More info by turning on DEBUG_DELEGATE_LIFECYCLE in qquicklistview.cpp.

      Attachments

        1. Delegate.qml
          1 kB
        2. List.qml
          2 kB
        3. main3.qml
          0.7 kB

        Issue Links

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

          Activity

            People

              kagro Kaj Grönholm
              srutledg Shawn Rutledge
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes