Public bug reported:

Ubuntu 24.04.4 LTS
X11 session

Opening a file chooser from Chrome or Firefox consistently takes
approximately 20-30 seconds.

Examples:
- ChatGPT "Upload file"
- Gmail attachment dialog
- Any browser file upload

Nemo opens the same directory instantly.
LibreOffice File->Open is also instant.

The problem is reproducible every time.

I isolated the issue to the GNOME FileChooser portal.

Creating:

~/.config/xdg-desktop-portal/ubuntu-portals.conf

with:

[preferred]
default=gnome;gtk;
org.freedesktop.impl.portal.FileChooser=gtk;

completely eliminates the delay.

This suggests the issue is specific to
xdg-desktop-portal-gnome's FileChooser backend.

Package versions:

xdg-desktop-portal          1.18.4-1ubuntu2.24.04.2
xdg-desktop-portal-gnome    46.2-0ubuntu1
xdg-desktop-portal-gtk      1.15.1-1build2

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xdg-desktop-portal-gnome 46.2-0ubuntu1
ProcVersionSignature: Ubuntu 6.17.0-40.40~24.04.1-generic 6.17.13
Uname: Linux 6.17.0-40-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Jul 17 17:05:10 2026
InstallationDate: Installed on 2025-01-21 (542 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=tmux-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: xdg-desktop-portal-gnome
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: xdg-desktop-portal-gnome (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161116

Title:
  xdg-desktop-portal-gnome FileChooser takes ~30 seconds to open in
  Chrome and Firefox on Ubuntu 24.04.4 (X11)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal-gnome/+bug/2161116/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to