GNOME Bugzilla – Bug 723474
GTK+ applications crash on Wayland servers/shells that do not have XDG_SHELL
Last modified: 2016-05-03 23:54:10 UTC
I am running gtk applications on Orbital https://github.com/giucam/orbital but I guess it can be replicated by using an older version of Weston that doesn't support XDG_SHELL as well. All applications segfault. If I have a WAYLAND_DISPLAY as wayland-orbital with Orbital as the shell (with no current XDG_SHELL support), and I have another WAYLAND_DISPLAY, wayland-weston which is a weston master, and I have a terminal with all the Wayland variable. If in this terminal, I then run export WAYLAND_DISPLAY=wayland-weston, and run zenity --info it runs. If I press CTRL+C, and then I run export WAYLAND_DISPLAY=wayland-orbital, and try to run zenity --info, it segfaults. Attached is a bt full of the crash
Created attachment 267847 [details] bt full of the zenity --info crash running on a non XDG_SHELL server
We should avoid segfaulting, if at all possible, and instead exit cleanly with an error message. But as far as 'working GTK+ applications', I think the answer will have to be: please implement xdg-shell.
Dupe of bug 762258 ? Now (with gtk+ 3.20), if xdg-shell isn;t available, we don't use the wayland backend and fallback to X11 (and thus Xwayland, on Wayland). Can we close thus bug?
sounds like it