GNOME Bugzilla – Bug 748108
gtk apps don't start under weston
Last modified: 2015-10-02 10:44:38 UTC
weston 1.7.0, GTK+ master. I get (lt-gtk3-widget-factory:27377): Gdk-ERROR **: wl_display@1: error 1: invalid arguments for xdg_shell@15.get_xdg_surface on the client side, and libwayland: not a valid new object id (5), message get_xdg_surface(no) on the weston side
things work fine under mutter
AFAICT this is due to the xdg-shell v5 changes: https://bugzilla.gnome.org/show_bug.cgi?id=744455 If I (hackishly) revert that patch, gtk3-demo gets to appear on weston, so I guess it comes down to waiting for weston to catch up, if a decision was done there yet.
(In reply to Carlos Garnacho from comment #2) > AFAICT this is due to the xdg-shell v5 changes: > https://bugzilla.gnome.org/show_bug.cgi?id=744455 > > If I (hackishly) revert that patch, gtk3-demo gets to appear on weston, so I > guess it comes down to waiting for weston to catch up, if a decision was > done there yet. The v5 changes are on weston master, so updating to that would also make GTK+ clients work again as well.
ah, thanks. I forget: would it be possible to make gtk+ work with both v4 and v5 compositors ? Or is that not feasible ?
It'd probably be easier to support both xdg_shell and wl_shell in that case.
(In reply to Matthias Clasen from comment #4) > ah, thanks. I forget: would it be possible to make gtk+ work with both v4 > and v5 compositors ? Or is that not feasible ? no - the way xdg_shell is designed, it is impossible to provide any kind of fallback handling. even the version negotiation mechanism is no longer workable between v4/v5 - which is why you get the cryptic mismatched-type error, rather than a more friendly error message. this is a large part of the reason i really wanted to get the version changes nailed down ...
not a problem anymore