Public bug reported:

In the current Ubuntu 26.04 development cycle, xdg-desktop-portal-gnome
appears to start before the session environment variables (specifically
WAYLAND_DISPLAY and XDG_CURRENT_DESKTOP) are fully exported to the
systemd user bus. As a result, the portal initializes in a "headless" or
"settings-only" mode.

This causes sandbox-mediated features in Snaps (Firefox, Thunderbird) to
fail, including:

Opening web links from Thunderbird to Firefox.

File picker dialogs for saving/uploading attachments.

Downloading files to local directories.

Observed Behavior (Logs):
When checking systemctl --user status xdg-desktop-portal-gnome immediately 
after login, the following errors are present:

Feb 24 10:03:56 X570 xdg-desktop-portal-gnome[8430]: Failed to open service 
channel Wayland connection, portals dialogs may missbehave (Die Methode kann 
nicht aufgerufen wer>
Feb 24 10:03:56 X570 xdg-desktop-portal-gnome[8430]: Non-compatible display 
server, exposing settings only.

Workaround:
Manually restarting the service after the desktop is fully loaded resolves all 
interaction issues:
systemctl --user restart xdg-desktop-portal-gnome

Environment Details:

OS: Ubuntu 26.04 (Resolute Raccoon) - Development Branch

Desktop: GNOME (Wayland session)

Affected Apps: Firefox (Snap), Thunderbird (Snap)

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: xdg-desktop-portal-gnome 50~beta-1ubuntu1
ProcVersionSignature: Ubuntu 6.18.0-9.9-generic 6.18.5
Uname: Linux 6.18.0-9-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Feb 24 18:11:43 2026
InstallationDate: Installed on 2022-12-04 (1178 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
ProcEnviron:
 LANG=de_DE.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: xdg-desktop-portal-gnome
UpgradeStatus: Upgraded to resolute on 2026-01-23 (32 days ago)

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


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

** Summary changed:

- xdg-desktop-portal-gnome ist broken
+ xdg-desktop-portal-gnome ist broken for 46.04 updates

** Summary changed:

- xdg-desktop-portal-gnome ist broken for 46.04 updates
+ xdg-desktop-portal-gnome ist broken for 26.04 updates

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

Title:
  xdg-desktop-portal-gnome ist broken for 26.04 updates

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


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

Reply via email to