[Development] CI testing on XWayland only, not real X11
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Sat Aug 16 11:19:26 CEST 2025
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.dangelo at 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
KDAB - Trusted Software Excellence
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4850 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20250816/35838b6d/attachment.bin>
More information about the Development
mailing list