qt5base-lts/tests/auto/widgets
Andre de la Rocha 80bcfa776f Fix QSpinBox tests failing after change in the Windows QPA
Some QSpinBox tests start failing after reverting to using legacy mouse
messages to handle mouse input in the Windows QPA. It seems to be caused
by a test that runs before it and moves the mouse cursor. Then when the
QSpinBox tests run, they create widgets that appear below the mouse
cursor, causing some mouse events to be generating and messing with the
events synthesized by the test itself. With the pointer messages being
used for mouse input, the legacy mouse messages that are generated under
this condition were being ignored. But by reverting to the old
implementation, the legacy messages are handled again, causing the test
to fail. This change moves the mouse pointer to a safe position during
the test initialization, so it does not depend on the state left by
previous tests. This change needs to be integrated together or before
the change in the windows QPA.

Change-Id: I91f7e9376dc495ee61250e0a7d908c1c2b685bc8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2019-02-12 22:17:40 +00:00
..
dialogs qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
effects qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
graphicsview Blacklist tst_QGraphicsItem::cursor on WinRT 2019-02-06 07:17:22 +00:00
itemviews Improve keyboard navigation in QListView when isWrapping is enabled 2019-02-06 09:50:58 +00:00
kernel Merge remote-tracking branch 'origin/5.12.1' into 5.12 2019-01-23 10:13:29 +01:00
styles Fix resolve() on fonts returned from QWidget::font() 2019-01-22 18:43:18 +00:00
util Set QScroller's parent to its widget, for memory management 2018-12-08 07:18:15 +00:00
widgets Fix QSpinBox tests failing after change in the Windows QPA 2019-02-12 22:17:40 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00