qt5base-lts/tests/auto
Bradley T. Hughes 5a57ddebf5 Fix tst_QDialog::deleteInExec() crash on Mac OS X
When destroying a window immediately after showing it, we can sometimes
provoke a crash in Cocoa after the show-window-animation has finished
(which appears to assume that the window's view will always be valid).
Prevent the crash by not removing the view from the window. When
recreating a window, we explicitly release the old window, but we do not
release the view, so we can freely add it to the new window (i.e. this
does not introduce new bugs related to recreating the platform window).

Task-number: QTBUG-24977
Change-Id: I466ce75b04785401032a0a2d4a2c494910cd1672
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
2012-04-17 03:28:29 +02:00
..
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Fix MSVC warnings in tests. 2012-04-02 16:56:48 +02:00
corelib Remove insignification from QLocale test for Mac OS X. 2012-04-16 21:50:18 +02:00
dbus Remove comment about QVariantList and QVariantMap. 2012-03-28 03:18:56 +02:00
gui Add tst_QGuiApplication::modalWindow() 2012-04-11 16:18:07 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Add bug numbers to insignificant_test markers. 2012-04-16 21:49:36 +02:00
opengl Add bug numbers to insignificant_test markers. 2012-04-16 21:49:36 +02:00
other Update accessibility selections in QTextControl. 2012-04-14 13:40:03 +02:00
printsupport Add bug numbers to insignificant_test markers. 2012-04-16 21:49:36 +02:00
shared Added some convenience API for platform input contexts 2012-04-01 20:13:51 +02:00
sql QTBUG-1363: fix QSqlField.length() for ODBC 2012-04-13 21:26:07 +02:00
testlib Fix MSVC warnings in tests. 2012-04-02 16:56:48 +02:00
tools moc: Fix parsing of the empty preprocessor command 2012-04-16 00:54:19 +02:00
widgets Fix tst_QDialog::deleteInExec() crash on Mac OS X 2012-04-17 03:28:29 +02:00
xml Bump some Qt 5 to-do's to Qt 6. 2012-04-10 22:47:37 +02:00
auto.pro Disable some tests and examples when --no-widgets is specified 2012-03-19 20:16:04 +01:00
network-settings.h Don't require exact IMAP server version in autotests 2012-04-03 12:45:46 +02:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00