Skip to content

Commit

Permalink
tests: skip tst_QGraphicsProxyWidget::scrollUpdate() on Wayland
Browse files Browse the repository at this point in the history
QWindow::requestActivate() is not supported.

This function failed in test vm in coin manually very often.

Task-number: QTBUG-107153
Pick-to: 6.4 6.2
Change-Id: I013651b0e5e7618c29742effd85a091ca95a7414
Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
  • Loading branch information
liangqi committed Oct 21, 2022
1 parent e2fef73 commit d8c078c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1326,6 +1326,9 @@ static QList<QRect> rects(const QRegion &region)

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

ScrollWidget *widget = new ScrollWidget;

QGraphicsScene scene;
Expand Down

0 comments on commit d8c078c

Please sign in to comment.