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

canFetchMore() is called when it should not be

    XMLWordPrintable

Details

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

    Description

      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().

      Attachments

        Issue Links

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

          Activity

            People

              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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes