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

Modify QQuickTest::showView() to verify that position has been updated

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • 6.9
    • Testing: QuickTest
    • None
    • Linux/X11
    • 9e9ed403d (dev), 0b4c76d60 (6.9), 372e02da3 (6.8), 7504ae9b9 (tqtc/lts-6.5)

      QQuickTest::showView() returns a bool if showing a qquickView is successful. A race condition happens on Opensuse where the qquickView is shown but his position and framePosition have not been updated correctly. Events can be sent to the un-updated position making some tests fail.

      Fix this by verifying if the position is done adjusting. If the qquickView does not have a frame, this verification should be skipped.

      Flaky and failing test affected by this on Opensuse:

      Tst_touchMouse::touchCancelWillCancelMousePress

      Tst_touchMouse::touchButtonOnFlickable

      Tst_qquickmouse::doubleTap

      Tst_QQuickMultiPointTouchArea::inFlickable2

      Tst_qquickmousearea::doubleTap

      Tst_qquickmousearea::nestedFlickableStopAtBounds 

      Tst_qquickpinchhandler::scale

       

        For Gerrit Dashboard: QTBUG-133340
        # Subject Branch Project Status CR V

            fredericl Frederic Lefebvre
            fredericl Frederic Lefebvre
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes