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

Parent of child's receives pinch gesture only if started on certain points

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.6.0
    • None
    • Android 5.1 Simulator and Device
    • Android

    Description

      Grabbed pinch gestures of a parent with multiple child's only work if the gesture starts at certain points. To be more exact it seems the gesture only works if at least one starting point is on the parent or both starting points are on a single child. The attached screenshot shows starting points that are good(green) and bad(red). The example app that generated the screenshot is attached as well. On pinch the example app logs the total scale factor with qDebug.

      If the PinchGesture is grabbed at the QMainWindow the problem does not occur.

      Edit: The same thing happens for PanGestures (2 Point, for example QScroller set with TouchGesture)

      Attachments

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

        Activity

          People

            rampe Rami Potinkara
            Marscho Marscho
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes