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

Nested flickables allow flicking with two fingers touchpad gesture only in one direction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.7.0, 5.8.0
    • Fix Version/s: 6.0.1, 6.1.0 Alpha
    • Labels:
      None
    • Environment:
      15-inch MacBook Pro, Mid 2014 (macOS 10.12.1)
      Lenovo ThinkPad T540p (Linux Mint 17.1)
    • Platform/s:
      macOS
    • Commits:
      dccd8f0b5ca8f6faefb49718e33f9090243f3202 (qt/qtdeclarative/dev) 0c3866a5ba406fe7d04ec19cbf8378e9b0150fb0 (qt/qtdeclarative/6.0)

      Description

      If you put some amount of flickables allowing flicking in horizontal direction into one flickable allowing flicking in vertical direction and then try to scroll using two fingers gesture (https://support.apple.com/en-us/HT204895), it will work either only for nested flickables (macOS 10.12.1) or only for parent flickable (Linux Mint 17.1), even though if you press and drag, you'll be able to scroll in both directions.
      I found this issue when I was implementing a such complex grid layout for smart TV using List Views, later I tried to do the same with pure Flickables and got the same result. I'm attaching two examples demonstrating the described behavior, one for Flickable and another for ListView to this issue. Funny that the behavior is different on Linux and macOS, but wrong in both cases.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              wearyinside Oleg Yadrov
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes