#1144670 libgtk-4-1: all applications crash on startup when a wayland compositor supports dmabuf v6

Package:
libgtk-4-1
Source:
libgtk-4-1
Description:
GTK graphical user interface library
Submitter:
Andreas Shimokawa
Date:
2026-08-17 20:29:02 UTC
Severity:
normal
Tags:
#1144670#5
Date:
2026-08-17 20:26:02 UTC
From:
To:
Dear Maintainer,


When using COSMIC Dekstop on Debian 13, I found that all apps crash
after compiling a version after the following:

https://github.com/pop-os/cosmic-
comp/commit/091583ac84abac02967ae358cf9570ddfef63b31 (backend: Support
wl-dmabuf v6)

Debugging showed that the gtk-4 version included in Debian 13 (4.18.6)
announced support for versions higher than 5 while it does not seem to
implement what is needed for proper v6 support.

patching gtk4 to only announce v5 support fixes the problem.

A patch is attached.