Hello,

after the last successful submodule update, a total of 284 autotests are 
skipped on Wayland.

[says
git grep --recurse-submodules “QSKIP"|grep -i “wayland"|wc -l
]

Tests blacklisted on wayland add to this number.
Without having checked the details, the vast majority of those tests have been 
made toothless because of missing window activation in Wayland from what I have 
seen. It’s supported only on the wayland XDG shell at present.

Wayland platforms would still be ignored, even if they wrap XCB.

While I support the move fully as a future scenario, I think we have organise a 
wayland test sprint first. Otherwise the move would reduce test coverage 
significantly.

Cheers
Axel

On 16 Aug 2025, at 11:19, Giuseppe D'Angelo via Development 
<development@qt-project.org> wrote:

Il 16/08/25 03:43, Thiago Macieira ha scritto:
Hello
As Linux desktops have begun their long-announced move away from X and have
begun to phase out their direct X11 support, I have to ask: should we move our
CI to test desktops only on native Wayland and through XWayland?
The background on this is https://bugreports.qt.io/browse/QTBUG-136653, which
appears to be caused by a bug in gnome-shell / mutter which sends a minimise
event to a dialog, even though the dialog never disappears. That causes Qt
code to delete the QDialog, which in turn causes the test to fail and possibly
crash. The test is pretty old and this problem does not happen on older
versions of GNOME nor does it happen on KDE Plasma.
We have not reported the bug to GNOME either. I suspect that it will get
limited to no attention if we do specifically because they now are focusing
primarily on Wayland.
So this the question to discuss: should we move testing of the XCB backend on
modern Linux distros to XWayland only? I am not proposing we ditch testing on
the older distros we have, for as long as we keep them. But I think this may
be more representative of how our XCB support is going to be run: native only
on older distros, only through XWayland on newer.

I'd like to wait until we get a Ubuntu LTS where the native X11 support is 
officially deprecated if not removed altogether (I understand that GNOME is 
dropping X11 support, but that doesn't mean anything, we can the tests under 
another WM.) There's simply too much Qt software out there that depends on 
native X11 and won't be ported, and we need to make sure it still works 
correctly.


My 2 c,

--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com<mailto:giuseppe.dang...@kdab.com> 
| Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com<http://www.kdab.com/>
KDAB - Trusted Software Excellence
--
Development mailing list
Development@qt-project.org<mailto:Development@qt-project.org>
https://lists.qt-project.org/listinfo/development

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to