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

ListView creates and destroys delegates infinitely under certain conditions

XMLWordPrintable

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

      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.

        1. main3.qml
          0.7 kB
          Shawn Rutledge
        2. Delegate.qml
          1 kB
          Shawn Rutledge
        3. List.qml
          2 kB
          Shawn Rutledge
        For Gerrit Dashboard: QTBUG-31492
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes