On Wed, 03 Dec 2025 at 07:07:33 -0500, Jeremy Bícha wrote:
To reproduce:

* GNOME in Wayland mode
* Run: yad --question (or probably any other options)

Expected result: no critical warnings

Actual result:

(yad:315819): Gdk-CRITICAL **: 20:37:42.045: gdk_x11_window_get_xid:
assertion 'GDK_IS_X11_WINDOW (window)' failed

Simon, are you still able to reproduce this bug?

Yes I am, on Debian 12, 13 or unstable (GNOME Wayland, in a qemu VM that should be close to vanilla, in each case). An exact command-line to reproduce it is for example

yad --question --text 'Yes?'

Note that yad still runs, apparently successfully: it is the critical warning (which is a sign that yad or a library it uses is making assumptions about the GDK backend) that I reported as a bug.

More specifically, https://sources.debian.org/src/yad/0.40.0-1.1/src/main.c#L939 assumes that the backend is X11.

    smcv

Reply via email to