qt5base-lts/tests/auto/widgets/kernel
Richard Moe Gustavsen 5907a0a944 QApplication: deliver activation events for non-widget windows
Problem: if you create a hybrid Widgets and Quick Controls
application, you would need to use QApplication rather than
QGuiApplication. But in that case, the QQuickWindows would
never receive window activation events from QApplication.
And this causes problems for controls, since, for example,
the palettes in use there will never update upon activation
changes, and instead sometimes get stuck as e.g QPalette::Inactive
after application startup.

This patch will make sure that we send out activation events
also for QWindows that are not QWidgetWindows.

Pick-to: 6.3 6.2
Change-Id: I649f5c653081c0c5249f4faf28a7de2c92f17421
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-04-21 22:05:05 +02:00
..
qaction Don't fire shortcut if the action only lives in an unreachable submenu 2021-10-25 17:17:40 +00:00
qactiongroup Remove the qmake project files 2021-01-07 15:32:28 +01:00
qapplication QApplication: deliver activation events for non-widget windows 2022-04-21 22:05:05 +02:00
qboxlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qformlayout QFormLayout: Fix assert when showing with hidden rows 2022-03-15 12:45:46 +01:00
qgesturerecognizer Fix widget gesture grabbing 2021-12-11 00:51:10 +01:00
qgridlayout Revert "Activate all tst_qgridlayout tests on Android" 2022-04-02 16:57:32 +00:00
qlayout Cleanup tests that add test data to resources explicitly 2022-02-11 21:54:44 +01:00
qshortcut Further improve QShortcut test 2022-01-18 22:42:44 +01:00
qsizepolicy Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstackedlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtooltip Unskip QToolTip::keyEvent test on macOS 2021-09-09 19:22:55 +00:00
qwidget Replace uses of _qs with _s in tests 2022-04-07 19:30:17 +02:00
qwidget_window Notify about focus object changes upon widget destruction 2022-03-25 17:04:37 +01:00
qwidgetaction QWidgetAction: add test for defaultWidget() being deleted before action 2021-06-22 11:38:32 +02:00
qwidgetmetatype Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwidgetrepaintmanager Add unit test for moving of opaque widgets 2021-12-08 23:06:42 +00:00
qwidgetsvariant Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwindowcontainer Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt Android: activate tst_QWidget 2022-03-29 13:56:14 +01:00