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

ListView does not show all item with VisualDataModel/QFileSystemModel

    XMLWordPrintable

Details

    Description

      When a ListView is assigned a VisualDataModel that has a QFileSystemModel, not all child items are shown.

      Test case attached. I exposed the QFileSystemModel in C++. It works fine with QDirModel. The code also creates a QTreeView. If you click in the QTreeView, you will see that the QML view updates itself. I am guessing, there is a missing fetchMore() in QML's VisualDataModel code.

      Attachments

        1. main.cpp
          0.8 kB
        2. main.qml
          0.6 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