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

Incorrect behavior of WheelHandler after adding an element to ListView

    XMLWordPrintable

Details

    Description

      After adding a new element to ListView WheelHandler seems to not be receiving events in the area of this added element. Strangely, it reproduces only if an element is added out of the visible area, so it's unloaded at that moment. In our case, this behavior leads to incorrect scrolling of ListView

       

      Steps to reproduce:

      1. ListView should contain enough elements so after scrolling down the first item will be out of scope. Then scroll down to achieve this
      2. Add a new element to ListView
      3. Now scroll down to the end of ListView. There should appear a blank space after the last element.
      4. In the area of the added element scrolling will be smooth, as it is when there's no WheelHandler. Now it appears that WheelHandler skips events in that area - it doesn't happen when an element is added in the visible area

      Attachments

        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
            artyomg Artem Gushchin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes