qt5base-lts/tests/auto/widgets/kernel/qwidgetrepaintmanager
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
..
BLACKLIST Blacklist tst_QWidgetRepainManager functions flaking on XCB 2022-11-30 14:48:51 +01:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
tst_qwidgetrepaintmanager.cpp Stabilize tst_QWidgetRepaintManager on XCB platforms 2022-11-30 14:48:51 +01:00