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

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

    XMLWordPrintable

Details

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

    Description

      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

       

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes