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

ListView scrolling is 'jumpy'

    XMLWordPrintable

Details

    • aafc407fc3efaf6a7ee8f96623fc59857c7bc2a8

    Description

      When scrolling a ListView the scrolling is not smooth, but the list 'microjumps' every now and then. Jumps are especially easy to see when the scroll speed is decelerating.
      cacheBuffer or -opengl do not affect the 'microjumpiness'.
      Find attached a simple example to demonstrate the effect. just scroll the list up and down with different speeds.
      If one sets QML_SHOW_FRAMERATE on one can see the following pattern in the output:

      paintEvent: 0 time since last frame: 15
      paintEvent: 0 time since last frame: 16
      paintEvent: 1 time since last frame: 16
      paintEvent: 1 time since last frame: 3
      paintEvent: 0 time since last frame: 12
      paintEvent: 1 time since last frame: 16
      paintEvent: 0 time since last frame: 15

      Not sure, if that (3 or sometimes 2, since last frame) is causing the jumpiness.

      Attachments

        1. listviewtest.qml
          1.0 kB
        2. repeatertest.qml
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            tmikola Tapani Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes