g_app_info_launch_default_for_uri does not fallback to the g_openuri_portal_open_uri
Since the g_app_info_launch_uris
went to async [0] it always returns positive result (unless dbus is somehow messed up), which prevents to run g_openuri_portal_open_uri
[1] when in flatpak environment. So for example opening a directory by gtk_show_uri leads to silent failure.
[0] https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/gdesktopappinfo.c#L3221 [1] https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/gappinfo.c#L834