When I update xdg-desktop-portal to 1.18.0-r1(flag: flatpak geolocation seccomp -systemd -test), I can not open URL or files in flatpak applications. But in 1.16.0-r1 it is working fine. BTW, I use hyprland, which means I use sys-apps/xdg-desktop-portal-gtk-1.14.1 and gui-libs/xdg-desktop-portal-hyprland-1.1.0 but not other xdg-desktop-portal-* Reproducible: Always Steps to Reproduce: 1. Open thunderbird 2. Click any URL in it to try open them in browser Actual Results: URL wont open in browser, and nothing happended. The log show at bellow(use flatpak run org.mozilla.Thunderbird to open it): [Parent 2, Main Thread] WARNING: Could not launch default application for URI: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167 ** (thunderbird:2): WARNING **: 15:00:17.217: Could not launch default application for URI: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop emerge --info: Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.37-r7, 6.4.5-cachyos-x86_64 x86_64) ================================================================= System uname: Linux-6.4.5-cachyos-x86_64-x86_64-12th_Gen_Intel-R-_Core-TM-_i9-12900H-with-glibc2.37 KiB Mem: 32582524 total, 6677680 free KiB Swap: 83382264 total, 83382264 free Timestamp of repository gentoo: Sat, 07 Oct 2023 05:01:59 +0000 Head commit of repository gentoo: 8ebb686856581c7cff9ae6cdea7483bc778e0ced Timestamp of repository CachyOS-kernels: Thu, 05 Oct 2023 11:22:59 +0000 Head commit of repository CachyOS-kernels: 1e08e8d4d30540647fc2b09df10efb66def9a90e Timestamp of repository Case_Of: Fri, 06 Oct 2023 15:46:55 +0000 Head commit of repository Case_Of: 2df9f019f188a44ae43eeb6eb5c078e2055d01f3 Timestamp of repository beatussum-overlay: Thu, 05 Oct 2023 11:22:42 +0000 Head commit of repository beatussum-overlay: 3bedd5d0206c5f8fd1d7856b967eace7ebeafa86 Timestamp of repository gentoo-zh: Fri, 06 Oct 2023 20:31:53 +0000 Head commit of repository gentoo-zh: 88b26557799852f34c9ee8d1562f47b71f9616c8 Timestamp of repository guru: Fri, 06 Oct 2023 21:01:54 +0000 Head commit of repository guru: f3c0d72ee967a76858cbfd07a0af02cc13133044 Timestamp of repository jm-overlay: Thu, 05 Oct 2023 11:22:34 +0000 Head commit of repository jm-overlay: 2fbbd8d3624650241268e93a5213805e83b6fbc4 Timestamp of repository nest: Thu, 05 Oct 2023 11:22:38 +0000 Head commit of repository nest: 978da724d9b3d130a017d006e81f39f3518daf84 Head commit of repository oiledmachine-overlay: f496d397f330e30a78f7fa0b046b1c34517aa6e1 Timestamp of repository pg_overlay: Thu, 05 Oct 2023 11:22:34 +0000 Head commit of repository pg_overlay: 7dd04e581ee7cdfcf05e7092098adb38dec6f0b6 Timestamp of repository steam-overlay: Thu, 05 Oct 2023 11:22:31 +0000 Head commit of repository steam-overlay: c9dd5fe9c97e964326e8f0d9f5f8f6d4e682d814 Timestamp of repository torbrowser: Thu, 05 Oct 2023 11:22:32 +0000 Head commit of repository torbrowser: 4f78a89597522583490d7968ab524944925319f6 Timestamp of repository wayland-desktop: Thu, 05 Oct 2023 11:22:45 +0000 Head commit of repository wayland-desktop: 5f9c9338ed3507346a345cbdbaa0b7127095e7b1 Timestamp of repository x0rzavi: Thu, 05 Oct 2023 11:22:59 +0000 Head commit of repository x0rzavi: f5bcd8557834d06d0efea6b939b42952afdd73b4 sh bash 5.1_p16-r6 ld GNU ld (Gentoo 2.40 p5) 2.40.0 ccache version 4.8.2 [disabled] app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.38.0-r1::gentoo dev-lang/python: 3.11.5::gentoo dev-lang/rust: 1.73.0_beta::pg_overlay dev-util/ccache: 4.8.2::gentoo dev-util/cmake: 3.26.5-r2::gentoo dev-util/meson: 1.2.1-r1::gentoo sys-apps/baselayout: 2.14::gentoo sys-apps/openrc: 0.48::gentoo sys-apps/sandbox: 2.37::gentoo sys-devel/autoconf: 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 16.0.6::gentoo sys-devel/gcc: 13.2.1_p20230826::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/llvm: 16.0.6::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False CachyOS-kernels location: /var/db/repos/CachyOS-kernels sync-type: git sync-uri: https://github.com/gentoo-mirror/CachyOS-kernels.git masters: gentoo volatile: False Case_Of location: /var/db/repos/Case_Of sync-type: git sync-uri: https://github.com/gentoo-mirror/Case_Of.git masters: gentoo volatile: False beatussum-overlay location: /var/db/repos/beatussum-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/beatussum-overlay.git masters: gentoo volatile: False gentoo-zh location: /var/db/repos/gentoo-zh sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git masters: gentoo volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False jm-overlay location: /var/db/repos/jm-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/jm-overlay.git masters: gentoo volatile: False local location: /var/db/repos/local masters: gentoo volatile: True nest location: /var/db/repos/nest sync-type: git sync-uri: https://github.com/gentoo-mirror/nest.git masters: gentoo volatile: False oiledmachine-overlay location: /var/db/repos/oiledmachine-overlay sync-type: git sync-uri: https://github.com/orsonteodoro/oiledmachine-overlay.git masters: gentoo volatile: False pg_overlay location: /var/db/repos/pg_overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/pg_overlay.git masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False torbrowser location: /var/db/repos/torbrowser sync-type: git sync-uri: https://github.com/gentoo-mirror/torbrowser.git masters: gentoo volatile: False wayland-desktop location: /var/db/repos/wayland-desktop sync-type: git sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git masters: gentoo volatile: False x0rzavi location: /var/db/repos/x0rzavi sync-type: git sync-uri: https://github.com/gentoo-mirror/x0rzavi.git masters: gentoo volatile: False Binary Repositories: binhost priority: 10 sync-uri: https://mirrors.tuna.tsinghua.edu.cn/gentoo/experimental/amd64/binpkg/default/linux/17.1/x86-64 Installed sets: @app-appman, @appimage, @apps, @apps-admin, @apps-game, @apps-patch, @apps-terminal, @apps-vm, @container, @dev-coljure, @dev-python, @dev-tools, @editer, @emacs, @fonts, @gentoo-package, @gentoo-tools, @hyprland, @kernel, @package-manager, @sys, @sys-module, @sys-patch ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--binpkg-respect-use=y --getbinpkg=y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe -march=native" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native" GENTOO_MIRRORS="https://mirror.lzu.edu.cn/gentoo https://mirrors.ustc.edu.cn/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="en zh zh_CN" MAKEOPTS="--jobs 12 --load-average 14" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc lto mad man mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf pgo png policykit ppds qt5 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="zh-CN" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c551c46f7f8ce26730d6424552e83fb4d74a63e2 commit c551c46f7f8ce26730d6424552e83fb4d74a63e2 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-10-14 02:20:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-14 02:21:41 +0000 sys-apps/xdg-desktop-portal: provide default portal config Install a default to avoid breakage: >=1.18.0 assumes that DEs/WMs will install their own, but we want some fallback in case they don't (so will probably keep this forever). DEs need time to catch up even if they will eventually provide one anyway. See bug #915356. TODO: Add some docs on wiki for users to add their own preference for minimalist WMs etc. Thanks to abby from Void for pointing me to https://github.com/void-linux/void-packages/commit/b4c404aac0af3ced08671a8840cd261198689cef and psykose as well. Bug: https://github.com/flatpak/xdg-desktop-portal/issues/1017 Bug: https://github.com/flatpak/xdg-desktop-portal/issues/1077 Bug: https://github.com/flatpak/xdg-desktop-portal/issues/1102 Closes: https://bugs.gentoo.org/915356 Signed-off-by: Sam James <sam@gentoo.org> .../xdg-desktop-portal/files/default-portals.conf | 2 + .../xdg-desktop-portal-1.18.0-r2.ebuild | 121 +++++++++++++++++++++ 2 files changed, 123 insertions(+)
Thank you, but when I had updated to 1.18.0-r2 and reboot the PC, it's not fixed. Seems the real problem is xdg-desktop-portal-gtk, also see https://github.com/flatpak/xdg-desktop-portal-gtk/issues/440