qt6-bb10/tests/auto/widgets
Eskil Abrahamsen Blomfeldt 100840a4fb Fix tst_qgraphicseffect on Wayland
If we only wait until the window is shown before testing the
event delivery, we may be getting a WindowActivation event
and subsequent paint event after we start testing. This can
cause a shift in the paint events, so that we end up with an
unexpected paint event at the end.

We should wait until the window is active before we start
checking the response to updates, to be sure nothing is pending
on the queue still.

Note that you'd expect QTest::qWaitForWindowActive() to do this,
but this actually falls back to qWaitForWindowExposed() when
the platform does not have WindowActivation capability. While
there is no real link between WindowActivation capability and
waiting for a window to be active, changing the behavior of that
function would be too scary, so we just implement an explicit
wait in the functions that depend on this.

Task-number: QTBUG-91418
Change-Id: Iee40dcfa1377f543ea05042cc5a972270b346708
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
2021-03-11 08:04:21 +01:00
..
dialogs Windows: Fix dialog moving up after closing/reshowing 2021-01-15 18:05:19 +01:00
effects Fix tst_qgraphicseffect on Wayland 2021-03-11 08:04:21 +01:00
graphicsview Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
itemviews Fix the crashes when animated QTreeWidgetItems are hidden 2021-03-08 12:31:13 +00:00
kernel tst_qapplication: Prevent desktopaware test from deactivating main test 2021-02-15 14:20:08 +01:00
styles Set the PlaceholderText color in the palette from the stylesheet as well 2021-01-12 20:24:28 +01:00
util Remove the qmake project files 2021-01-07 15:32:28 +01:00
widgets QMenu test: turn tooltip animations off 2021-03-04 22:49:47 +01:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00