path: root/src/plugins/platforms/qnx
diff options
authorKari Oikarinen <>2018-03-21 12:08:33 +0200
committerKari Oikarinen <>2018-03-22 13:35:51 +0000
commit141582505f0132a1acb9f60de24b3d35552d8e5c (patch)
treecb3d3f6c38aaeb9a1049df68fb1c7f5eb132b9a7 /src/plugins/platforms/qnx
parent58b373c9e3c0a7307e3fbafeb5ad710088b8e685 (diff)
Stabilize tst_QGraphicsView::acceptMouseDoubleClickEvent
This test has been flaky on openSUSE in CI. The problem was that the window is sometimes resized or removed while processing events after adding the rectangle item to the QGraphicsScene. When the same mouse event is reused again, it uses wrong screen coordinates. QGraphicsScene handling of mouse events then looks for items under cursor at the wrong coordinates, does not find any items and thus doesn't accept the mouse event. Fix by using QTest API for simulating mouse events. Also wait for changed signal rather than blindly running one iteration of event loop. Task-number: QTBUG-67212 Task-number: QTBUG-66216 Change-Id: I968f9470c6f8803d01cebeda6f12ad76b4fd5293 Reviewed-by: Gatis Paeglis <>
Diffstat (limited to 'src/plugins/platforms/qnx')
0 files changed, 0 insertions, 0 deletions