This test actually passes using the "xcb" platform and fails otherwise.
Second, the Jira task is misleading since it refers to
tst_QFocusEvent::checkReason_Shortcut()
Change-Id: Icab91ace8c214d958b534c5cebae900242522372
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
QDialog* d = new QDialog( testFocusWidget );
d->show();
+ QVERIFY(QTest::qWaitForWindowExposed(d));
+
d->activateWindow(); // ### CDE
QApplication::setActiveWindow(d);
QVERIFY(QTest::qWaitForWindowActive(d));
#ifdef Q_OS_MAC
QEXPECT_FAIL("", "QTBUG-22815", Abort);
#endif
- if (QGuiApplication::platformName() == QStringLiteral("xcb"))
- QSKIP("QTBUG-22815 - This test is unstable on this platform");
QTRY_VERIFY(childFocusWidgetOne->focusInEventRecieved);
QVERIFY(childFocusWidgetOne->focusInEventGotFocus);