qt5base-lts/tests/auto/widgets/graphicsview/qgraphicsitem
Dimitrios Apostolou dff9fa2ee1 Fix testcase that fails when run individually
Executing the tst_qgraphicsitem::sorting() testcase individually always
fails on my KDE/X11 desktop. The window never seems to have focus and
the call to qWaitForWindowActive() returns error after a few seconds.

It seems qApp->setActiveWindow(&view) never succeeds in giving focus to
the window containing the widget.

Fixes: QTBUG-105221
Task-number: QTBUG-74760
Change-Id: I148dab09d0fb592376b3902e4ed10799f9a52274
Done-with: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2022-08-17 01:05:44 +02:00
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
BLACKLIST Test is stable on OpenSUSE, un-blacklist it 2022-08-10 21:44:40 +02:00
CMakeLists.txt Add license headers to cmake files 2022-08-03 17:14:55 +02:00
tst_qgraphicsitem.cpp Fix testcase that fails when run individually 2022-08-17 01:05:44 +02:00