Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.11
-
openSUSE 42.3 in CI
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 *********