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

ScrollView not update scrollbar handle position after data prepended to contentItem if handle is at the beginning

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.2
    • 5.6.0 Beta
    • Quick: Controls 1
    • None
    • Mageia Linux Cauldron x86_64, gcc 5.3.1
    • qtquickcontrols: 69af774a54198a83f774c89b5d5d7135b8fb1f7a

    Description

      In the attached example model implements fetchMore() and appends new items in it. It is displayed in the ListView, which display items in revers mode, by using verticalLayoutDirection: ListView.BottomToTop. This is so-called "infinite scrolling", but in reverse mode: when the list scrolled to the top, the new items appended at the top.

      If I quickly drag scroll indicator to the top, fetchMore() function of the model is not called any more, until I drag it somewhat lower.

      To reproduce, run test program and quickly drag scrollbar handle to the top.

      This does not happen with ScrollBar from Qt Labs Controls. Also, this does not happen on Qt 5.5.1.

      Attachments

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

        Activity

          People

            krnekit Nikita Krupenko
            krnekit Nikita Krupenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes