qt5base-lts/tests/auto
Morten Johan Sørvig fcc5323a08 Make test less dependent on moving the cursor
The sendMouseMove() function calls QTest::mouseMove(),
which again calls QCursor::setPos() to move the cursor.
It then creates and sends a MouseMove event, using
the constructor which picks up the global position
by calling QCursor::pos().

On macOS 10.14, QCursor::setPos() may silently fail
if the user does not grant the application permission
to move the cursor (via a dialog). As result of this
the mouse move event gets an incorrect global position.

Provide the global position directly when creating
the event to make sure it gets the correct value.

Task-number: QTBUG-75786
Change-Id: I3e8df450fea802783a3d1dbe471753f502b42de3
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2019-08-11 12:01:54 +02:00
..
android
bic/data Add binary compatibility files for 5.12 for QtBase 2018-12-21 19:42:57 +00:00
cmake cmake: correct version dependency for qt5_add_big_resources 2019-05-20 12:49:37 +02:00
concurrent Merge remote-tracking branch 'origin/5.11' into dev 2018-02-16 08:54:58 +01:00
corelib QBitArray: fix fromBits() and actually test it 2019-08-08 20:27:04 -07:00
dbus Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
gui Add nullptr guard to QHighDScaling::scaleAndOrigin(QPlatformScreen *) 2019-08-11 12:01:26 +02:00
guiapplauncher
installed_cmake
network tst_http2::connectToHost - fix flakiness 2019-08-07 18:57:31 +02:00
opengl qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
other Fix raster paint error in path joins of tightly bending bezier curves 2019-06-14 11:02:35 +02:00
printsupport tst_QPrinter: stabilize qprinter test 2019-01-20 13:39:54 +00:00
shared Make tst_qwidget pass on High-DPI screens (Windows) 2019-06-03 10:41:08 +02:00
sql Fix a couple of SQL tests 2019-02-19 11:00:19 +00:00
testlib Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
tools Make moc grok binary literals with digit separators 2019-05-10 18:34:02 +00:00
widgets Make test less dependent on moving the cursor 2019-08-11 12:01:54 +02:00
xml Don't indefinitely wait for data if it was able to read some data 2018-01-24 05:54:31 +00:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h Rework QNetworkReply tests to use docker-based test servers 2018-07-27 17:40:27 +00:00
testserver.pri Postpone testing docker images and files until running 'make check' 2018-08-30 04:06:51 +00:00