From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EB7TJtYgG2Ei6QAAgWs5BA (envelope-from ) for ; Tue, 17 Aug 2021 04:37:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iESOItYgG2HzPAAA1q6Kng (envelope-from ) for ; Tue, 17 Aug 2021 02:37:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0DCA41434A for ; Tue, 17 Aug 2021 04:37:10 +0200 (CEST) Received: from localhost ([::1]:36586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFoyS-0003Kk-HZ for larch@yhetil.org; Mon, 16 Aug 2021 22:37:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFoyL-0003Kb-T1 for guix-patches@gnu.org; Mon, 16 Aug 2021 22:37:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFoyL-0008QW-Lu for guix-patches@gnu.org; Mon, 16 Aug 2021 22:37:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mFoyL-0006ii-JR for guix-patches@gnu.org; Mon, 16 Aug 2021 22:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49972] [PATCH] gnu: xdg-desktop-portal-gtk: Update to 1.8.0. Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Aug 2021 02:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49972 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andrew Whatson Cc: 49972@debbugs.gnu.org Received: via spool by 49972-submit@debbugs.gnu.org id=B49972.162916776625762 (code B ref 49972); Tue, 17 Aug 2021 02:37:01 +0000 Received: (at 49972) by debbugs.gnu.org; 17 Aug 2021 02:36:06 +0000 Received: from localhost ([127.0.0.1]:51236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFoxO-0006hN-N0 for submit@debbugs.gnu.org; Mon, 16 Aug 2021 22:36:06 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:36231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFoxJ-0006gp-Ai for 49972@debbugs.gnu.org; Mon, 16 Aug 2021 22:36:01 -0400 Date: Tue, 17 Aug 2021 02:35:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1629167750; bh=eClXEQYBM1DWRTR3RZMKija2I3aMjNmesVmKahsFTCE=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=QCtVdc8gX7sCbQ7fm+Yqqs4ZfcYEV35bh+tPu4eR87EauKH49wD7fObfAFrdbD34U EWYKw+foKJKIhYv2QF35OL3nnttooQs2Izi/Ht/nrMR+J/RuQRQUtd2LGraFJPH9S4 aAcfF3kkDeV3+/iUiQldEcQr+f9boEoNkO+2unuU= Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches From: John Kehayias via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629167830; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=eClXEQYBM1DWRTR3RZMKija2I3aMjNmesVmKahsFTCE=; b=N+yhvCuH8KN2demKjQf5ICgd8tYK7w429kUdrwq9Wk9SmMqN9Hn1bR1x5HdLpM5CYzDSNK jdp0zNQ9Ax3tXXp2vdLJ8PjZGadUgsAIt/EeQ+CaMN34AeJXsERhSgfFgBMqdHNPejH4Wr lYqnAQ7YLI7vGC/4M/W/ZAA1Oq3iRfJGksbM5vLtqBJGKQAoIK/9dn+xS3jQx9hjJ0HD3s 1Qmxg4GhWwT/P+6D5CSOF1O63835iQcWqUyJg8vlJGnVRbEbwSIhQZGBPNsNL2e2/uOzS4 VjpBxAb8KsJAvfvV+MDyWj0chG/jlNP6ybhs2pc6QxpQRLFcs2i4clgtHGO6sQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629167830; a=rsa-sha256; cv=none; b=Acbnr8rra02+N26MO78QSoaQWvgovtcFXo/eCPmxaoASPpl5qZiJyb/r6/aEYIQxW/c9Ea x9rQcvGrhuPN8u0DNH5W/Ml6suZB3oRiT5zl8lY3gAwWZ5ScFbqqN4WmPuSAw4V/EYOOVd Ry/BsotFtUshax+mOr1xfA5QrrFD4jcHtTVQ7yGLK2KRAkpI/f1s+4CgoR60tFOQFmCE+z zW68ZXOp5aIGSRmIBBOLC4fiOTSAB9bLJ3td4oW1gPdpF1WNgrTqzu48z2K/Ij5Sia0a3P xRJMm773EcBT/bV8NooFg3n0XZ7clx2nRaDlkn3a+ngjYWzvyHsd5mbg+3jJEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=QCtVdc8g; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=QCtVdc8g; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0DCA41434A X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: fUsAzfXSuvtk Hi Andrew, =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 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.bar= app > > 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 directo= ry. 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 multip= le 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 c= orrectly. 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_P= ORTAL_DIR had the same entry twice, something like /path/to/profile/share/x= dg-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 th= at these backends are meant to be used with the main portal (and the main p= ortal needs at least one to work? not sure). Thanks! John