Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11.0 Beta 2
-
openSUSE 42.3 in CI
-
141582505f0132a1acb9f60de24b3d35552d8e5c
Description
tst_QGraphicsView::acceptMouseDoubleClickEvent has been flaky in CI on openSUSE.
Example failure with some extra manually added debug output:
********* Start testing of tst_QGraphicsView ********* Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.3.1 20180307 [gcc-7-branch revision 258314]) PASS : tst_QGraphicsView::initTestCase() QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() double click event QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() itemsAtPosition( QPoint(99,49) QPointF(-1,-1) QWidget(0x1bb47a0) ) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() transform: 1 QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() index rect: QRectF(-1,-1 1x1) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() index rect adjusted: QRectF(-1,-1 1x1) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() index found items: () QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event pos: QPointF(0,0) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event scenePos: QPointF(-1,-1) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event screenPos: QPoint(99,49) QWARN : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event handler: items under mouse count: 0 QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() scene item count: 0 QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() scene item count after add: 1 QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() scene items: (QGraphicsItem(0x1bdef30, pos=0,0, flags=(ItemIsMovable))) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() global coordinates: QPoint(99,49) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() scene item count after event loop: 1 QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() scene items: (QGraphicsItem(0x1bdef30, pos=0,0, flags=(ItemIsMovable))) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() item bounding rect: QRectF(-0.5,-0.5 2001x2001) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() global coordinates: QPoint(840,71) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() double click event QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() itemsAtPosition( QPoint(99,49) QPointF(98,48) QWidget(0x1bb47a0) ) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() itemsAtPosition: !isTransformed, rect: QRectF(-650,19 1x1) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() index rect: QRectF(-650,19 1x1) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() index rect adjusted: QRectF(-650,19 1x1) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() index found items: () QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event pos: QPointF(0,0) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event scenePos: QPointF(98,48) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event screenPos: QPoint(99,49) QWARN : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event handler: items under mouse count: 0 FAIL! : tst_QGraphicsView::acceptMouseDoubleClickEvent() 'view.doubleClickAccepted' returned FALSE. () Loc: [tst_qgraphicsview.cpp(3040)] PASS : tst_QGraphicsView::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 78ms ********* Finished testing of tst_QGraphicsView *********
Example success with same debug output:
********* Start testing of tst_QGraphicsView ********* Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.3.1 20180307 [gcc-7-branch revision 258314]) PASS : tst_QGraphicsView::initTestCase() QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() double click event QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() itemsAtPosition( QPoint(847,78) QPointF(-1,-1) QWidget(0x115e740) ) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() transform: 1 QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() index rect: QRectF(-1,-1 1x1) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() index rect adjusted: QRectF(-1,-1 1x1) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() index found items: () QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event pos: QPointF(0,0) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event scenePos: QPointF(-1,-1) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event screenPos: QPoint(847,78) QWARN : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event handler: items under mouse count: 0 QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() scene item count: 0 QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() scene item count after add: 1 QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() scene items: (QGraphicsItem(0x1189360, pos=0,0, flags=(ItemIsMovable))) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() global coordinates: QPoint(847,78) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() scene item count after event loop: 1 QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() scene items: (QGraphicsItem(0x1189360, pos=0,0, flags=(ItemIsMovable))) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() item bounding rect: QRectF(-0.5,-0.5 2001x2001) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() global coordinates: QPoint(840,71) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() double click event QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() itemsAtPosition( QPoint(847,78) QPointF(98,48) QWidget(0x115e740) ) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() itemsAtPosition: !isTransformed, rect: QRectF(98,48 1x1) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() index rect: QRectF(98,48 1x1) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() index rect adjusted: QRectF(98,48 1x1) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() index found items: (QGraphicsItem(0x1189360, pos=0,0, flags=(ItemIsMovable))) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event pos: QPointF(0,0) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event scenePos: QPointF(98,48) QINFO : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event screenPos: QPoint(847,78) QWARN : tst_QGraphicsView::acceptMouseDoubleClickEvent() mouse event handler: items under mouse count: 1 PASS : tst_QGraphicsView::acceptMouseDoubleClickEvent() PASS : tst_QGraphicsView::cleanupTestCase() Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 69ms ********* Finished testing of tst_QGraphicsView *********
Attachments
For Gerrit Dashboard: QTBUG-67212 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
224046,4 | Stabilize tst_QGraphicsView::acceptMouseDoubleClickEvent | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 |