qt6-bb10/tests/auto
Volker Hilsheimer 945c8bf54d Cocoa: Use sheetParent to close sheet instead of transientParent
If the window that the sheet (as created for a modal dialog) lives in
has already been destroyed by the time the sheet is hidden, then we used
to trip an assertion. Instead, always use the sheetParent, which is
still alive.

Add a test case that asserts without the fix.

Fixes: QTBUG-128302
Change-Id: I4c399b73e2552bab79358c5505f403efa8e4f80b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 332f49f2d8c5675bab8bde6acfb377d567961d4a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-04 17:48:56 +00:00
..
bic/data Add 6.8.0 binary compatibility file 2024-10-17 19:30:33 +00:00
cmake Bump version to 6.8.1 2024-09-19 07:20:47 +03:00
concurrent tst_QtConcurrentThreadEngine: fix UB (uninitialized boolean) 2024-07-06 10:17:50 +00:00
corelib tst_QThread: add a test for multiple threads wait()ing for one 2024-11-02 16:25:06 +00:00
dbus QtDBus: disallow sending method calls without destinations on a bus 2024-10-22 07:17:08 +00:00
gui Fix QImageIOHandler autotest for static builds 2024-11-02 22:17:25 +00:00
guiapplauncher Convert "Color Editor Factory" Example to snippets 2024-04-19 13:39:41 +02:00
network Blacklist tst_QNetworkReply::ioHttpRedirectPolicy on macOS 15 2024-11-04 16:53:32 +00:00
opengl tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
other Accessibility on macOS: make treeview test more reliable 2024-08-22 04:40:28 +00:00
printsupport tests: blacklist tst_QPrinter::testPrintPreviewDialog() 2024-08-12 09:43:38 +00:00
shared Introduce flag to use typographical line metrics for fonts 2024-05-31 19:30:53 +02:00
sql Tests/QSqlQuery: fix tst_QSqlQuery::lastInsertId() for PostgreSQL 2024-10-31 19:46:55 +00:00
testlib tst_selftests: disable Valgrind tests with AVX512/AVX10 2024-10-29 23:52:25 +00:00
tools moc: handle nested structs with meta content 2024-11-02 02:02:09 +00:00
wasm CMake: Fix PUBLIC_LIBRARIES option is deprecated in tests warning 2024-10-30 10:57:15 +01:00
widgets Cocoa: Use sheetParent to close sheet instead of transientParent 2024-11-04 17:48:56 +00:00
xml QtXml: be systematic about feature dom 2024-08-29 18:21:29 +00:00
CMakeLists.txt tst_QSettings: port to QTEST_THROW_ON_FAIL 2024-06-27 06:06:02 +00:00
network-helpers.h network-helpers.h: add a missing include 2024-11-02 16:25:06 +00:00
network-settings.h Change license for tests files 2024-02-04 09:56:42 +01:00