qt6-bb10/tests/auto/widgets/kernel/qapplication
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
..
desktopsettingsaware Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
modal Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
test Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
tmp Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
BLACKLIST Android: move blocked tests of qapplication to test folder 2020-11-16 13:35:49 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
customstyle.json Ensure styles always get to polish the application palette 2020-07-21 13:43:19 +02:00
heart.svg Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
tst_qapplication.cpp QApplication: deliver activation events for non-widget windows 2022-04-21 22:05:05 +02:00