qt5base-lts/tests/auto/widgets
Kari Oikarinen 141582505f 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 <gatis.paeglis@qt.io>
2018-03-22 13:35:51 +00:00
..
dialogs Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
effects Revert "Set sharedPainter correctly for QGraphicsEffect" 2018-03-14 12:37:53 +00:00
graphicsview Stabilize tst_QGraphicsView::acceptMouseDoubleClickEvent 2018-03-22 13:35:51 +00:00
itemviews Item views: Fix 5.11 API review findings 2018-03-14 12:23:27 +00:00
kernel Blacklist tst_QApplication::touchEventPropagation on openSUSE 2018-03-02 07:21:04 +00:00
styles Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
util Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
widgets Fix QLabel crash if buddy's lifetime is too short 2018-03-08 22:36:49 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00