qt6-bb10/tests/auto
Miikka Heikkinen 8368557b9c Fix focus handling when the application has QAxWidgets.
Removed old defunct platform specific code from
QWidget::isActiveWindow() and added call to
QPlatformWindow::isActive() instead. This is done because
the embedded native windows inside QAxWidgets can have
focus but are not part of the parent application's Qt
window hierarchy, so native methods are required to determine
if they are part of the active window or not.

QWidgetPrivate::setFocus_sys() was implemented to activate
the window of the focused widget if the focus was elsewhere.
This is required because embedded native windows can steal the
focus from the main application window.

Focus event handling in Windows platform adaptation plugin was
fixed to correctly identify the active window in cases where
the are embedded native widgets that can have focus.

Also fixed three test cases that were affected by these changes.

Task-number: QTBUG-25852
Task-number: QTBUG-23699
Change-Id: I817e0ce4317e88955bb49b034eacd630a876ccf0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-07-03 14:50:34 +02:00
..
cmake Move the macros for invoking ctest to a shared location. 2012-07-03 01:08:25 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Remove insignification from QtConcurrentFilter test. 2012-04-19 13:26:51 +02:00
corelib Add QChar::SoftHyphen enum value 2012-07-03 14:39:02 +02:00
dbus Make test work on Mac OS X 2012-06-23 16:25:47 +02:00
gui Fix capitalization with newline bug 2012-07-03 01:08:37 +02:00
guiapplauncher
network tst_QTcpServer::clientServerLoop fix for Windows Xp 2012-07-03 14:39:39 +02:00
opengl Mark qgl autotest as significant for Windows 2012-07-03 00:51:44 +02:00
other Flag consistently failing tests as expected fail tests. 2012-06-30 04:30:15 +02:00
printsupport QtPrintSupport - Add QPrinterInfo api for more printer details 2012-05-29 23:48:15 +02:00
shared Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
sql Make sql autotests build without widgets 2012-06-07 07:25:27 +02:00
testlib Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
tools do not unnecessarily mess with CONFIG 2012-06-27 09:39:01 +02:00
widgets Fix focus handling when the application has QAxWidgets. 2012-07-03 14:50:34 +02:00
xml remove some qmake -project boilerplate from project files 2012-06-19 16:39:52 +02:00
auto.pro Don't build printsupport autotests when widgets aren't available 2012-06-07 07:24:01 +02:00
network-settings.h Fix auto tests build with gcc 4.7 2012-05-23 00:42:20 +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