From a16fd6bbe2e19e30b8e977fc19c5ca872f78d57a Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Wed, 12 Oct 2022 13:55:34 +0200 Subject: [PATCH] tests: skip tst_QWidget::setWindowGeometry() on Wayland Task-number: QTBUG-107157 Pick-to: 6.4 6.2 Change-Id: I65a21898d6a5d40a4e7e9eeecf1e2398e45d97fe Reviewed-by: Eskil Abrahamsen Blomfeldt --- tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp index 7f8421f189..56b6f0c0bf 100644 --- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp +++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp @@ -5606,8 +5606,8 @@ void tst_QWidget::setWindowGeometry_data() void tst_QWidget::setWindowGeometry() { - if (m_platform == QStringLiteral("xcb")) - QSKIP("X11: Skip this test due to Window manager positioning issues."); + if (m_platform == QStringLiteral("xcb") || m_platform.startsWith(QLatin1String("wayland"), Qt::CaseInsensitive)) + QSKIP("X11/Wayland: Skip this test due to Window manager positioning issues."); QFETCH(Rects, rects); QFETCH(int, windowFlags);