Public bug reported:

Additional observation that might be related to the same underlying
issue:

Even after restoring functional thumbnail generation system-wide (confirmed via 
Nemo and Nautilus),
the GTK file chooser used in Firefox (Flatpak) still shows inconsistent or 
missing thumbnails.

Environment:
- Ubuntu 24.04 LTS
- Flatpak Firefox
- xdg-desktop-portal + xdg-desktop-portal-gnome active
- Thumbnail cache fully populated (~/.cache/thumbnails)

Observed behavior:
- Nemo displays all thumbnails correctly and immediately
- Nautilus also displays thumbnails correctly after the AppArmor-related fix
- GTK file chooser (Firefox upload dialog) shows placeholder icons for many 
files,
  even though valid thumbnails already exist in the cache

Additional notes:
- The issue persists after restarting Firefox and the portal services
- The file chooser does not appear to properly reuse existing thumbnails
- No manual refresh mechanism is available in the dialog
- Some thumbnails appear eventually, but behavior is inconsistent

This suggests that the file chooser may not be correctly integrating with the
standard thumbnail cache or thumbnailing pipeline.

Given that thumbnail generation itself is working correctly system-wide,
this appears to be a discrepancy in how the GTK file chooser consumes or 
invalidates thumbnails.

Possibly related to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2148075

From a user perspective, this results in inconsistent behavior across 
applications,
despite a fully functional thumbnailing setup.

Let me know if additional logs or tests would be helpful.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xdg-desktop-portal 1.18.4-1ubuntu2.24.04.1
ProcVersionSignature: Ubuntu 6.8.0-107.107-generic 6.8.12
Uname: Linux 6.8.0-107-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 13 22:00:22 2026
InstallationDate: Installed on 2025-07-13 (274 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 
(20240220)
ProcEnviron:
 LANG=de_DE.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: xdg-desktop-portal
UpgradeStatus: Upgraded to noble on 2025-07-13 (274 days ago)

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


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/2148248

Title:
  GTK file chooser shows inconsistent or missing thumbnails despite
  valid thumbnail cache

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


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

Reply via email to