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

Touch release not received in ListView after list move (DnD)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.2.1, 5.5.0 Alpha
    • Platforms with touch support

    Description

      When a ListView delegate goes off-screen, it does not receive touch events anymore.

      For example, if pressing with a finger on a MouseArea on a delegate and then moving the delegate outside of the screen (e.g. by changing contentY), the touch release event is not received by the delegate. The problem seems to be that QQuickWindowPrivate::deliverTouchPoints() does not propagate events to items that are culled.

      If the delegate is scrolled (flicked) outside of the screen, Flickable steals mouse events, and does not propagate any events to the original MouseArea. At least, receiving touch (and mouse) release in the MouseArea would be needed.

      As an attachment there is a simple example which changes ListView contentY when pressing on a delegate, and a release should return the contents to the original position. With a mouse the behavior is as expected, and with touch the contentY is not restored.

      Attachments

        Activity

          People

            srutledg Shawn Rutledge
            kahautam Kari Hautamäki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: