qt5base-lts/tests/auto/widgets/kernel
Axel Spoerl 58b1984efc Stabilize tst_QWidgetRepaintManager on XCB platforms
When a widget's palette has different brushes in Active / Inactive
color groups, or it is pixmap based, multiple paint events are
triggered. This leads to unpredictable, double entries in
QWidgetRepaintManager::dirtyWidgetList().

This patch overrides event() of all test widgets and ignores
activation / deactivation events in order to make the entries of
QWidgetRepaintManager::dirtyWidgetList() predictable.

Pick-to: 6.4
Change-Id: I164d7ab4148551590ac3c50fcc3b9f98c5ac0535
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-11-30 14:48:51 +01:00
..
qaction Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qactiongroup Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qapplication Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qboxlayout Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qformlayout Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qgesturerecognizer Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qgridlayout Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qlayout Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qshortcut Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qsizepolicy Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qstackedlayout Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qtooltip Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qwidget Set simplePalette on staticWidget in tst_QWidget::optimizedResizeMove 2022-11-27 16:49:35 +01:00
qwidget_window Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qwidgetaction Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qwidgetmetatype Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qwidgetrepaintmanager Stabilize tst_QWidgetRepaintManager on XCB platforms 2022-11-30 14:48:51 +01:00
qwidgetsvariant Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qwindowcontainer Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00