qt5base-lts/tests/auto/other/macgui
Morten Johan Sørvig 7eba6d039d Cocoa: Re-implement QCocoaScreen::topLevelAt()
The previous implementation used [NSApp orderedWindows]
which does not return NSPanel subclasses, which is
used by Qt dialogs and pops.

Use [NSWidow windowNumberAtPoint:belowWindowWithWindowNumber]
instead, which hit-tests on all window types. This
can potentially include windows from other processes
and non-Qt windows which needs to be filtered out.

Add EXPECT_FAIL to tst_MacGui::nonModalOrder. The
correct topLevelAt() implementation now exposes that
this test is failing.

Task-number: QTBUG-39322
Change-Id: I81afa3da964e08fe682802220d8fe81e9284205e
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
2014-06-06 23:39:12 +02:00
..
.gitignore Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
guitest.cpp MacGui tests: Remove references to CGPostMouseEvent 2013-10-29 18:30:48 +01:00
guitest.h MacGui tests: Remove references to CGPostMouseEvent 2013-10-29 18:30:48 +01:00
macgui.pro Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
tst_macgui.cpp Cocoa: Re-implement QCocoaScreen::topLevelAt() 2014-06-06 23:39:12 +02:00