mirror of https://github.com/qt/qtbase.git
Wayland: skip tst_QWindow::modalWindowModallity() on GNOME
We are facing this issue: "<Application> is ready" middleman notifications https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/358 in "normal_window.requestActivate();" line. Without clicking the notification, the window which we requested programmatically will not be shown, the test fails. Pick-to: 6.10 Task-number: QTBUG-137020 Change-Id: I54f684c69ca678b26830b62e5443402436da104c Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
d6054c5f41
commit
b839e95f91
|
@ -2505,6 +2505,8 @@ void tst_QWindow::modalWithChildWindow()
|
|||
|
||||
void tst_QWindow::modalWindowModallity()
|
||||
{
|
||||
if (isPlatformWayland() && qgetenv("XDG_CURRENT_DESKTOP").toLower().contains("ubuntu:gnome"))
|
||||
QSKIP("Wayland: This will trigger a 'X is ready' system notification in GNOME.");
|
||||
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||
QSKIP("QWindow::requestActivate() is not supported.");
|
||||
|
||||
|
|
Loading…
Reference in New Issue