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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes