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

Painting and scrolling errors when ListView's section.property is changed

    XMLWordPrintable

Details

    • eeea1dd085d4712ce78166bdf8769e4270e2d831

    Description

      Run attached QML. I have C++'fied the model at http://doc.qt.nokia.com/4.7-snapshot/qml-listview.html#section.criteria-prop.

      On startup it looks like beforeclick.png (correct)
      After clicking on the listview, it looks like afterclick.png (incorrect). Painting errors (well, really delegate management errors)
      Scrolling the view will fix the painting errors
      Keep scrolling in up/down. Sometimes the view just gets stuck. scrollbug.png
      There are also warning in console:'Unable to assign undefined value'

      I have been unable to reproduce this with a QML ListElement model (i.e a C++ model is required)

      Attachments

        1. afterclick.png
          afterclick.png
          17 kB
        2. beforeclick.png
          beforeclick.png
          16 kB
        3. main.cpp
          2 kB
        4. main.qml
          0.6 kB
        5. scrollbug.png
          scrollbug.png
          17 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            girish Girish Ramakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes