xdg-desktop-portal-gtk malfunctions on Wayland: wl_display@1.error(zxdg_imported_v1@36, 0, "set_parent_of was called with an invalid child")
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mutter (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
xdg-desktop-portal-gtk (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
When running on a Wayland session, if xdg-desktop-
Gdk-Message: 09:49:31.837: Lost connection to Wayland compositor.
Gdk-Message: 09:50:28.438: Error 71 (Protocol error) dispatching to Wayland display.
Running it with WAYLAND_DEBUG=1, the underlying error message that GDK seems to eat is:
[3471970.531] wl_display@
That is, when it tries to associate the dialog box with the confined application's window. It seems the underlying bug is in in Mutter:
https:/
According to duflu, the patch referenced in that bug report has been merged for 3.28.2 and 3.29.2. It seems like a candidate to backport to bionic if we want portals to work on the (non-default) Wayland session.
Yeah cosmic already has the fix (mutter 3.28.2). You're only waiting on bionic.