xdg-desktop-portal: Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list
I've noticed that I'm getting a "Could not get window list" warning from xdg-desktop-portal, this is easiest to observe when running it via:
$ /usr/lib/xdg-desktop-portal --replace --verbose
...
** (/usr/lib/xdg-desktop-portal:16219): WARNING **: 08:36:25.461: Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list
I think this might be interfering with screensharing functionality in Firefox-in-flatpak (I am not able to select which window to share at all), and Chromium-in-flatpak (I can only select Chromium tabs and/or Xwayland windows to share, not Wayland windows)
I think the next step here is to use dbus-monitor
to see what communication is happening around this warning/error, but I need to know which topic/path to subscribe otherwise there's too much noise