all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: Andrew Whatson <whatson@gmail.com>
Cc: 49972@debbugs.gnu.org
Subject: [bug#49972] [PATCH] gnu: xdg-desktop-portal-gtk: Update to 1.8.0.
Date: Tue, 17 Aug 2021 02:35:47 +0000	[thread overview]
Message-ID: <nYDumQAVV1qsUhZhB2UVCk7U-Ne68XqfJBF29-fvtFJee2uA5gaWjLbcFx6lKBdK2xBKw9_9IAdWWRitydNlvIch3iE9i23lSKy8TGmZUFs=@protonmail.com> (raw)
In-Reply-To: <CAPE069fq7jkMXoX33FUPZg7GiwEfUWRYv-XGF=6oOwoSQ239yw@mail.gmail.com>

Hi Andrew,

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Friday, August 13th, 2021 at 6:38 AM, Andrew Whatson wrote:

> Hi John,
>
> Yes I'm using the default gnome-desktop-service, perhaps your setup is
>
> missing something provided by that. The only thing I can recommend
>
> (and maybe you're already doing this) is to launch your apps like
>
> this:
>
> flatpak run --log-session-bus --log-system-bus --log-ally-bus com.foo.barapp
>
> This gives some extra debug information from flatpak and the app,
>
> which might help diagnose the problem.
>

I finally figured it out! It was quite a ride of diving into dbus, strace, ... in the end, the answer was right in front of me from xdg-desktop-portal --verbose output. XDG_DESKTOP_PORTAL_DIR needs to just be a single directory. Both this package and xdg-desktop-portal will add (the same directory) to this variable, and it chokes on that. Why that means some interfaces are registered but not others, I don't know. The output isn't clear as it will list the variable value as where it is loading from, but no follow-up that it did load portals.

So, I think upstream should support this environment variable having multiple entries, not that I think it is really needed, but should handle it (or error gracefully). Practically though, we only need it set once. I'll file a bug upstream.

Should we just have it in xdg-desktop-portal? The gtk, and other backends, would really only make sense used with xdg-desktop-portal if I understand correctly. So as long as their portals go in the same place, that should be fine. In my case, with this and xdg-desktop-portal installed, XDG_DESKTOP_PORTAL_DIR had the same entry twice, something like /path/to/profile/share/xdg-desktop-portal/portals

If you agree, we should update both the gtk and wayland package definitions to not have this search path set. And perhaps a note in the description that these backends are meant to be used with the main portal (and the main portal needs at least one to work? not sure).

Thanks!

John




  reply	other threads:[~2021-08-17  2:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10  4:51 [bug#49972] [PATCH] gnu: xdg-desktop-portal-gtk: Update to 1.8.0 Andrew Whatson
2021-08-10 16:34 ` John Kehayias via Guix-patches via
2021-08-12 10:30 ` Andrew Whatson
2021-08-12 19:18   ` John Kehayias via Guix-patches via
2021-08-13 10:38     ` Andrew Whatson
2021-08-17  2:35       ` John Kehayias via Guix-patches via [this message]
2021-10-25 19:39         ` John Kehayias via Guix-patches via
2021-10-25 19:41           ` bug#49972: " John Kehayias via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='nYDumQAVV1qsUhZhB2UVCk7U-Ne68XqfJBF29-fvtFJee2uA5gaWjLbcFx6lKBdK2xBKw9_9IAdWWRitydNlvIch3iE9i23lSKy8TGmZUFs=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=49972@debbugs.gnu.org \
    --cc=john.kehayias@protonmail.com \
    --cc=whatson@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.