Skip to content

Commit

Permalink
tests: skip tst_QGraphicsProxyWidget::bypassGraphicsProxyWidget() on …
Browse files Browse the repository at this point in the history
…Wayland

QWindow::requestActivate() is not supported.

This function crashed very often in ci/coin when system is busy.

Task-number: QTBUG-107153
Pick-to: 6.4 6.2
Change-Id: I82523080db40bddce9c9dc000433117d8ef74847
Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
  • Loading branch information
liangqi committed Oct 21, 2022
1 parent d8c078c commit 63cfab6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3071,6 +3071,9 @@ void tst_QGraphicsProxyWidget::bypassGraphicsProxyWidget_data()

void tst_QGraphicsProxyWidget::bypassGraphicsProxyWidget()
{
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
QSKIP("QWindow::requestActivate() is not supported.");

QFETCH(bool, bypass);

std::unique_ptr<QWidget> widgetGuard(new QWidget);
Expand Down

0 comments on commit 63cfab6

Please sign in to comment.