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

QML Map pinch gesture ignored on QGraphicsScene

    XMLWordPrintable

Details

    • Android

    Description

      The application is complex: it has QMainWindow with QGraphicsScene and QGraphicsProxyWidget. This widget contains QQuickWidget in which the QML Map is displayed. This structure is mandatory and cannot be changed.

      In the map only Pan and Flick gestures work. No any dual-finger gestures as Pinch or Tilt are send to the object. When using two fingers on the map it receives them as one finger touch and processes movement as Pan.

      QML code includes

                  gesture.enabled: true
                  gesture.acceptedGestures: MapGestureArea.PanGesture | MapGestureArea.PinchGesture
      

      in Map object. The QMainWindow does not have it's own event processing. It does not grabGesture(Qt::PinchGesture). Adding this grab to MainWindow code changes nothing.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            gourmand64 Gourmet
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes