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

tst_QQuickPinchHandler::scaleNativeGesture() fails on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.3.0
    • None
    • Android

    Description

      tst_QQuickPinchHandler::scaleNativeGesture() fails on Android. Output:

      ********* Start testing of tst_QQuickPinchHandler *********
      Config: Using QtTest library 6.4.0, Qt 6.4.0 (arm64-little_endian-lp64 shared (dynamic) debug build; by Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)), android 12.0
      PASS   : tst_QQuickPinchHandler::initTestCase()
      PASS   : tst_QQuickPinchHandler::pinchProperties()
      PASS   : tst_QQuickPinchHandler::scale()
      PASS   : tst_QQuickPinchHandler::scaleThreeFingers()
      FAIL!  : tst_QQuickPinchHandler::scaleNativeGesture(just pinch) Compared doubles are not the same (fuzzy compare)
         Actual   (((target->scale()))): 1
         Expected (expectedScale)      : 1.1
         Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/pointerhandlers/qquickpinchhandler/tst_qquickpinchhandler.cpp(415)]
      FAIL!  : tst_QQuickPinchHandler::scaleNativeGesture(pinch & drag) Compared doubles are not the same (fuzzy compare)
         Actual   (((target->scale()))): 1
         Expected (expectedScale)      : 1.1
         Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/pointerhandlers/qquickpinchhandler/tst_qquickpinchhandler.cpp(415)]
      PASS   : tst_QQuickPinchHandler::pan()
      PASS   : tst_QQuickPinchHandler::dragAxesEnabled(both enabled)
      PASS   : tst_QQuickPinchHandler::dragAxesEnabled(x enabled)
      PASS   : tst_QQuickPinchHandler::dragAxesEnabled(y enabled)
      PASS   : tst_QQuickPinchHandler::dragAxesEnabled(both disabled)
      PASS   : tst_QQuickPinchHandler::retouch()
      SKIP   : tst_QQuickPinchHandler::cancel() cancel is not supported atm
         Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/pointerhandlers/qquickpinchhandler/tst_qquickpinchhandler.cpp(769)]
      PASS   : tst_QQuickPinchHandler::transformedpinchHandler(checking inner pinchHandler 1)
      PASS   : tst_QQuickPinchHandler::transformedpinchHandler(checking inner pinchHandler 2)
      PASS   : tst_QQuickPinchHandler::transformedpinchHandler(checking inner pinchHandler 3)
      PASS   : tst_QQuickPinchHandler::transformedpinchHandler(checking outer pinchHandler 1)
      PASS   : tst_QQuickPinchHandler::transformedpinchHandler(checking outer pinchHandler 2)
      PASS   : tst_QQuickPinchHandler::transformedpinchHandler(checking outer pinchHandler 3)
      PASS   : tst_QQuickPinchHandler::cleanupTestCase()
      Totals: 17 passed, 2 failed, 1 skipped, 0 blacklisted, 35409ms
      ********* Finished testing of tst_QQuickPinchHandler *********
      
      

      Attachments

        Issue Links

          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
              andreasbuhr Andreas Buhr
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes