qt5base-lts/tests/auto/gui/kernel
Tor Arne Vestbø be7e5f94a1 macOS: Check NSWindow as well when determining if setVisible can bail out
In be268ae197 we made QCocoaWindow::setVisible
idempotent by checking if NSView.hidden needed update.

This failed to take into account the case when a window is moved from
being a child window to a top level, where the window is still visible
and the NSView's hidden state doesn't change, but we need to order in
the NSWindow that we're now managing.

We now check NSWindow.visible as well, if we're a top level window.

Pick-to: 6.5 6.6
Change-Id: I94434d6ebfe2c9ece6eac7f83f17ead250ccc07a
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2023-10-30 18:28:57 +00:00
..
noqteventloop CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qaction CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qactiongroup CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qaddpostroutine CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qbackingstore CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qclipboard Android: Fix for checking clipboard text mime type 2023-07-12 00:53:58 +02:00
qcursor CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qdrag CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qevent CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qfileopenevent CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguiapplication CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguieventdispatcher QEventDispatcher: test with glib disabled too 2023-08-11 16:45:40 +03:00
qguieventloop CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguimetatype CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguitimer QTimer: extend property tests and fix binding loop 2023-09-03 18:20:51 +02:00
qguivariant CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qhighdpi CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qinputdevice CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qinputmethod tst_QInputMethod: Don't assume test is the only one calling functions 2023-10-10 19:29:27 +02:00
qkeyevent Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
qkeysequence QKeySequence::toString(): Treat Modifier+Qt::Key_Unknown as empty string 2023-10-09 15:25:54 +02:00
qmouseevent Include what you need: <QPointer> 2023-10-12 21:38:54 +02:00
qmouseevent_modal CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qopenglwindow CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpalette Rename accent color in QPalette 2023-08-18 00:38:38 +02:00
qpixelformat CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qrasterwindow CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qscreen CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qshortcut Add QShortcut test for Qt::ApplicationShortcut 2023-10-04 20:36:53 +02:00
qsurfaceformat CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtouchevent Include what you need: <QPointer> 2023-10-12 21:38:54 +02:00
qwindow macOS: Check NSWindow as well when determining if setVisible can bail out 2023-10-30 18:28:57 +00:00
CMakeLists.txt Android: Fix for checking clipboard text mime type 2023-07-12 00:53:58 +02:00