qt5base-lts/tests/auto/widgets/widgets
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
..
qabstractbutton Eliminate duplicate data row names in widgets autotests. 2012-02-15 02:36:47 +01:00
qabstractscrollarea Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qabstractslider Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qabstractspinbox Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qbuttongroup Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qcalendarwidget Make QCalendarWidget use its locale's firstDayOfWeek. 2012-06-28 17:15:17 +02:00
qcheckbox Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qcombobox Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
qcommandlinkbutton Fix focus handling when the application has QAxWidgets. 2012-07-03 14:50:34 +02:00
qdatetimeedit Fix qitemview and qdatetimeedit autotest builds for WinCE. 2012-06-21 00:58:29 +02:00
qdial Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qdialogbuttonbox Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qdockwidget Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qdoublespinbox Remove insignification from QDoubleSpinBox test on Ubuntu 11.10. 2012-04-19 16:25:55 +02:00
qdoublevalidator Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qfocusframe Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qfontcombobox Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qgroupbox Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qintvalidator Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qlabel Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qlcdnumber Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qlineedit QTBUG-16850: QLineEdit::setSelection removes blank characters 2012-05-25 17:23:20 +02:00
qmainwindow Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qmdiarea Remove insignification of QMdiArea test on Windows. 2012-04-24 12:49:56 +02:00
qmdisubwindow Remove insignification from QMdiSubWindow test on Mac OS X. 2012-04-19 19:46:07 +02:00
qmenu Use QPointer instead of QWeakPointer. 2012-06-05 18:42:26 +02:00
qmenubar Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtWidgets] 2012-05-03 06:10:20 +02:00
qplaintextedit Fixed inputMethodQuery() for Qt::ImHints 2012-06-26 08:14:17 +02:00
qprogressbar Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qpushbutton Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtWidgets] 2012-05-03 06:10:20 +02:00
qradiobutton Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qregexpvalidator Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qscrollarea Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qscrollbar Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qsizegrip Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qslider Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qspinbox Eliminate duplicate data row names in widgets autotests. 2012-02-15 02:36:47 +01:00
qsplitter Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qstackedwidget Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qstatusbar QStatusBar::showMessage will always take new timeout 2012-05-25 21:41:42 +02:00
qtabbar Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtabwidget Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtextbrowser Correctly locate files with relative paths 2012-06-05 13:40:00 +02:00
qtextedit Fixed inputMethodQuery() for Qt::ImHints 2012-06-26 08:14:17 +02:00
qtoolbar Mac: Fix compilation with -qtnamespace set 2012-01-31 16:17:55 +01:00
qtoolbox Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtoolbutton tst_qtoolbutton: stabilize and improve failure message 2012-06-05 09:21:36 +02:00
widgets.pro Remove QWorkspace. 2012-03-23 13:22:10 +01:00