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

canFetchMore() is called when it should not be

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.7.2
    • Widgets: Itemviews
    • None
    • Windows

      The documentation for canFetchMore() states:

      "..If canFetchMore() returns true, QAbstractItemView will call fetchMore(). However, the fetchMore() function is only called when the model is being populated incrementally...

      See:
      http://doc.qt.nokia.com/qabstractitemmodel.html#canFetchMore

      However, the layout() function causes fetchMore() to be called indirectly, but it should not. For example, calling setFirstColumnSpanned() triggers the layout() function which again triggers fetchMore().

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            naevdal Sigrid Fjell Nævdal (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes