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

QAbstractItemView calls fetchMore() when scrolling side-to-side

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • P2: Important
    • 5.0.0
    • 4.6.2
    • Widgets: Itemviews
    • None
    • GNU/Linux Fedora Core 8 (Werewolf release)

    Description

      Scrolling to the maximum position of a horizontal scrollbar triggers a call to canFetchMore() + fetchMore() in QAbstractItemView. This means that if you scroll back and forth side-to-side, without ever scrolling down, the model will continually be fetching more items that are not actually being displayed.

      The canFetchMore() + fetchMore() should only be called when scrolling down.

      Either that, or there should be an "orientation" argument to canFetchMore() / fetchMore() which takes either Qt::Vertical or Qt::Horizontal.

      Attachments

        Issue Links

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

          Activity

            People

              frederik Frederik Gladhorn
              jugdish Jugdish
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes