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

tst_QApplication::touchEventPropagation is flaky on openSUSE

    XMLWordPrintable

    Details

      Description

      tst_QApplication::touchEventPropagation has been flaky in CI on openSUSE. I was able to reproduce the failure on a VM. The flaky failure happens in the handling of touch events with a child widget.

      Example failure (with some debug output added):

      ********* Start testing of tst_QApplication *********
      Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.2.1 20171005 [gcc-7-branch revision 253439])
      PASS   : tst_QApplication::initTestCase()
      QINFO  : tst_QApplication::touchEventPropagation() widget.seenMouseEvent false
      QINFO  : tst_QApplication::touchEventPropagation() widget.seenTouchEvent false
      QINFO  : tst_QApplication::touchEventPropagation() window.seenTouchEvent false
      QINFO  : tst_QApplication::touchEventPropagation() window.seenMouseEvent true
      FAIL!  : tst_QApplication::touchEventPropagation() 'widget.seenMouseEvent' returned FALSE. ()
         Loc: [../tst_qapplication.cpp(2008)]
      PASS   : tst_QApplication::cleanupTestCase()
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 208ms
      ********* Finished testing of tst_QApplication *********
      

      Example success (with the same debug output):

      ********* Start testing of tst_QApplication *********
      Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.2.1 20171005 [gcc-7-branch revision 253439])
      PASS   : tst_QApplication::initTestCase()
      QINFO  : tst_QApplication::touchEventPropagation() widget.seenMouseEvent true
      QINFO  : tst_QApplication::touchEventPropagation() widget.seenTouchEvent false
      QINFO  : tst_QApplication::touchEventPropagation() window.seenTouchEvent false
      QINFO  : tst_QApplication::touchEventPropagation() window.seenMouseEvent true
      PASS   : tst_QApplication::touchEventPropagation()
      PASS   : tst_QApplication::cleanupTestCase()
      Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 203ms
      ********* Finished testing of tst_QApplication *********
      

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            kari.oikarinen Kari Oikarinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes