qt5base-lts/tests/auto/other
Jan Arve Saether c1ead32a84 Fix crash in QMacPanGestureRecognizer
The reason it crashed was this:
1. Button was pressed => _panTimer started with the graphics view as
   destination.
2. Button was released => the graphicsview is destroyed
3. 300 ms later: Qt tries to deliver TimerEvent from _panTimer to the
   graphics view. Unfortunately, the graphics view is deleted, but Qt
   doesn't know that... (*crash*)

We therefore chose to start the timer with a destination we are controlling the
lifetime of: the QMacPanGestureRecognizer. Inside the timerEvent of that we can
check if the actual target is already destroyed.

Task-number: QTBUG-60404
Change-Id: Iff8f5b7217de42c4c5cf551ca507f0cff1c99a78
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
2018-05-02 09:16:22 +00:00
..
android Updated license headers 2016-01-21 18:55:18 +00:00
compiler set attribute specifier before namespace name 2018-03-09 05:23:26 +00:00
gestures Fix crash in QMacPanGestureRecognizer 2018-05-02 09:16:22 +00:00
lancelot Add lancelot based benchmark 2018-04-04 08:17:43 +00:00
languagechange winrt: Fix tst_qlanguagechange 2017-06-19 07:06:00 +00:00
macgui Blacklist tst_MacGui::nonModalOrder 2017-07-27 09:08:58 +00:00
macnativeevents Cocoa: Make AA_MacDontSwapCtrlMeta work 2018-01-08 07:18:01 +00:00
macplist Use dependencies instead of CONFIG+=ordered 2017-12-02 11:09:15 +00:00
networkselftest Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
qabstractitemmodelutils QAbstractItemModelTester: fix the autotests 2018-01-09 21:12:58 +00:00
qaccessibility Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qaccessibilitylinux Ensure result of all QTest::qWaitFor are verified 2017-10-05 15:15:36 +00:00
qaccessibilitymac Ensure result of all QTest::qWaitFor are verified 2017-10-05 15:15:36 +00:00
qcomplextext Update the Unicode BiDi algorithm to be compliant with Unicode 10 2018-02-28 17:11:43 +00:00
qfocusevent tst_QFocusEvent: Add qWaitForWindowActive() to checkReason_focusWidget() 2018-04-27 07:16:11 +00:00
qnetworkaccessmanager_and_qprogressdialog test: blacklist tst_QNetworkAccessManager_And_QProgressDialog::downloadCheck(with-zeroCopy) 2017-11-15 05:12:15 +00:00
qobjectrace tests/auto/other: Avoid unconditional qWait()s 2018-04-06 07:19:19 +00:00
qprocess_and_guieventloop Support for Q_OS_ANDROID_EMBEDDED and android-embedded build flags 2018-01-20 18:16:59 +00:00
qsharedpointer_and_qwidget Updated license headers 2016-01-21 18:55:18 +00:00
qtokenautomaton tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
qvariant_common Updated license headers 2016-01-21 18:55:18 +00:00
toolsupport Fix license header for tst_toolingsupport.cpp 2018-04-09 06:37:01 +00:00
other.pro Make a benchmark out of tst_QObjectPerformance::emitToManyReceivers 2018-03-07 19:43:52 +00:00