Github messages for voidlinux
 help / color / mirror / Atom feed
From: RunningDroid <RunningDroid@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: GTK3 file chooser doesn't work after upgrading xdg-desktop-portal to 1.18.0_1
Date: Fri, 29 Sep 2023 07:18:37 +0200	[thread overview]
Message-ID: <20230929051837.aLQ4WPex_dlOve9E9_23gMYTW5t6TdCm2Pfn-_wBPHE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46317@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]

New comment by RunningDroid on void-packages repository

https://github.com/void-linux/void-packages/issues/46317#issuecomment-1740327986

Comment:
This appears to be a result of `xdg-desktop-portal` requiring configuration as of 1.17.0 (even though they don't explicitly say it in the changelog*).
The intended behavior seems to be that desktop or distro devs will ship a `/usr/share/xdg-desktop-portal/${DESKTOP}-portals.conf` to set the default portals for a desktop or `xdg-desktop-portal` will just fail without a fallback if nothing's configured: https://github.com/flatpak/xdg-desktop-portal/issues/1077

In that issue ibotty provided a snippet that restores the previous behavior when installed to `.config/xdg-desktop-portal/sway-portals.conf`:
```
[preferred]
# use xdg-desktop-portal-gtk for every portal interface
default=gtk
# except for the xdg-desktop-portal-wlr supplied interfaces
org.freedesktop.impl.portal.Screencast=wlr
org.freedesktop.impl.portal.Screenshot=wlr
```
and the documentation for the portal configuration is here: https://github.com/flatpak/xdg-desktop-portal/blob/main/doc/portals-conf.rst

*: https://raw.githubusercontent.com/flatpak/xdg-desktop-portal/main/NEWS :
```
- Rework how portal implementations are loaded. This new, more robust system
  allows selecting specific backends for specific portals, and layering them
  when necessary. Platforms that provide portals implementation are encouraged
  to provide a suitable configuration file.
```

  parent reply	other threads:[~2023-09-29  5:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-28 21:09 [ISSUE] " Aicaya
2023-09-29  3:21 ` MajesticFaucet
2023-09-29  3:23 ` MajesticFaucet
2023-09-29  3:25 ` MajesticFaucet
2023-09-29  5:18 ` RunningDroid [this message]
2023-09-29  5:39 ` MajesticFaucet
2023-10-02  7:22 ` mayhair
2023-10-02  9:38 ` paper42
2023-10-05 16:52 ` [ISSUE] [CLOSED] " classabbyamp

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=20230929051837.aLQ4WPex_dlOve9E9_23gMYTW5t6TdCm2Pfn-_wBPHE@z \
    --to=runningdroid@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).