[Pkg-utopia-maintainers] Bug#946913: Error message every minute

Simon McVittie smcv at debian.org
Wed Dec 18 15:38:36 GMT 2019


Control: retitle -1 Error message every minute: Could not get window list: Cannot invoke method

On Tue, 17 Dec 2019 at 20:33:48 +0100, Martin F Krafft wrote:
> this service, which I don't want or need [...] (flatpak pulls it in)

It's how Flatpak apps communicate with anything outside their sandbox
(and in particular provides the document portal service that lets their
File -> Open and File -> Save As dialogs work as intended, which used
to be part of Flatpak but was spun off so that it could be used by other
app frameworks). If you are running Flatpak apps, you do need it.
(If not, uninstalling flatpak should allow you to uninstall x-d-p.)

> Dec 17 20:31:06 lotus xdg-desktop-por[31369]: Failed to get application states:
> GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list:
> Cannot invoke method; proxy is for the well-known name org.gnome.Shell without
> an owner, and proxy was constructed with the
> G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag

This looks like a bug in the code that tracks whether a Flatpak app is
running in the background or not. When running under a fully-supported
compositor (currently that means xdg-desktop-portal-gtk under GNOME
Shell or xdg-desktop-portal-kde under Plasma), apps are not meant to be
allowed to run without a visible window for an extended period of time,
unless they have a suitable permission flag.

The most likely solution is that x-d-p needs to define an error code
that means "this feature is not available, but keep quiet about it",
and x-d-p-gtk needs to use that error code when it reports that the
background-app-tracking feature is not working when running in a
non-GNOME-Shell environment.

    smcv



More information about the Pkg-utopia-maintainers mailing list