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

    • Bug
    • Resolution: Done
    • P4: Low
    • 6.0.1, 6.1.0 Alpha
    • 5.7.0, 5.8.0
    • None
    • 15-inch MacBook Pro, Mid 2014 (macOS 10.12.1)
      Lenovo ThinkPad T540p (Linux Mint 17.1)
    • macOS
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes