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

Qml Map pinch gesture never completes causing control to become unresponsive

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • None
    • 5.5.1, 5.6.0, 5.11.1
    • None
    • Mac OSX laptop with trackpad running El Capitan
    • macOS

    Description

      If you have touch events turned on using setAttribute(Qt::WA_AcceptTouchEvents) in your QQuickWidget which is displaying a Qml Map control pinch gestures never complete. This then causes the control to no longer accept clicks to Pan. Also any further Pinch gestures produce strange results. It also prevents clicking on any controls which are parented to the Map control. Once you get into this state the Map control unusable to the user.

      I have verified that this bug appears when run on a Mac laptop using a trackpad. I think it may be Mac specific from user bug reports we are receiving. We haven't heard issues from Windows/Linux users for example.

      To repro, build/run the attached simple example app. Do a two finger pinch, or a two finger scroll gesture and the application output will show that that pinch starts, but never finishes. When the pinch does not finish, the Map control is now stuck in an unusable state.

      Attachments

        Issue Links

          Activity

            People

              srutledg Shawn Rutledge
              DonLakeFlyer Don Gagne
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: