qt6-bb10/tests/auto/other/macgui
Tor Arne Vestbø 1af821825a macOS: Fix tst_MacGui::nonModalOrder()
The test is testing whether the order of creating a child window
of a modal dialog and showing the parent dialog matters. But to
allow child windows of a modal dialog to become active that child
also needs to be a dialog. That's a limitation on macOS, where
only NSPanel subclasses can override worksWhenModal.

Fix the test, and rewrite it using more modern idioms, avoiding
the need for long waits in the test.

Pick-to: 6.6 6.5
Change-Id: Ifb640d0288a3c7ed37f2c61294e34cd96fba49ca
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2023-10-25 17:41:32 +02:00
..
.gitignore
BLACKLIST macOS: Fix tst_MacGui::nonModalOrder() 2023-10-25 17:41:32 +02:00
CMakeLists.txt Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
guitest.cpp Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
guitest.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
tst_macgui.cpp macOS: Fix tst_MacGui::nonModalOrder() 2023-10-25 17:41:32 +02:00