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

QPinchGesture::startCenterPoint() is always 0,0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2, 6.4.1
    • None
    • Android

    Description

      Is appears that QPinchGesture::startCenterPoint() is always 0,0. Also, I never see a QPinchGesture have a state of Qt::GestureStarted. Only Updated and Finished.

      Looking at the source: https://github.com/qt/qtbase/blob/dev/src/widgets/kernel/qstandardgestures.cpp - it seems startCenterPoint is only ever reset. There don't appear to be any other assignments.

      It does appear to be set in the Mac version of the gesture recognizer though: https://github.com/qt/qtbase/blob/dev/src/widgets/kernel/qmacgesturerecognizer.cpp

       

       

       

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            srcejon Jon Beniston
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes