Public bug reported:

Ubuntu 26.04, latest updates

Steps to reproduce:

1. Install Firefox via Snap (channel stable/ubuntu-26.04 as stable has some 
known/fixed issues with cursor)
2. Open Nautilus and attempt to drag a file into Firefox
3. Drag never completes

Expected: file is dropped into Firefox

Actual: journalctl shows:
  xdg-document-portal: error: Invalid id firefox_firefox: Names must contain at 
least 2 periods

Environment:
- Ubuntu 26.04, GNOME 50 beta 1, Wayland
- xdg-desktop-portal 1.21.0
- Firefox Snap revision 7966

xdg-document-portal validates app IDs using D-Bus naming rules
(requiring 2+ periods) but Snap app IDs use underscore format (snap_app)
which i think is a valid Snap identifier. The portal should handle both
formats, the one used by snap and the dots used by Flatpack or similars.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: xdg-desktop-portal 1.21.0+ds-1ubuntu4
ProcVersionSignature: Ubuntu 6.19.0-9.9-generic 6.19.5
Uname: Linux 6.19.0-9-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 11 12:01:36 2026
InstallationDate: Installed on 2023-05-04 (1042 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
SourcePackage: xdg-desktop-portal
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

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


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

** Also affects: firefox (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  Title: xdg-document-portal rejects Snap app IDs (firefox_firefox)
  breaking drag-and-drop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2143896/+subscriptions


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

Reply via email to