xdg-desktop-portal-gnome 44 causes delays in non-GNOME desktops
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdg-desktop-portal (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Lunar |
Won't Fix
|
Undecided
|
Unassigned | ||
xdg-desktop-portal-gnome (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Lunar |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Test Case
---------
- Install xdg-desktop-
- Log out, then log into a non-GNOME desktop like MATE
- Open an app that uses portals, like the Firefox Snap
- From the app, open the Open dialog
What Happens
------------
Nothing for 2 minutes or however long the service timeout takes.
After that initial timeout, the filechooser dialogs open like normal.
Other Info
----------
This is a regression compared to xdg-desktop-
My understanding is that xdg-desktop-portal currently attempts to load the portal backends in alphabetical order. By coincidence, this happens to do what we would expect (gnome, then gtk, kde, lxqt, wlr).
It is expected that systems with multiple desktop environments installed will have multiple portal backends installed. These backends should work in any of the desktops. (For instance, maybe MATE users want to have the GTK 4.10 icon view filechooser for their Flatpak/Snap web browser.)
Upstream
-------
https:/
https:/
Related: https:/
https:/
Changed in xdg-desktop-portal (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
Changed in xdg-desktop-portal-gnome (Ubuntu): | |
milestone: | none → ubuntu-23.04 |
Changed in xdg-desktop-portal-gnome (Ubuntu Lunar): | |
status: | New → Triaged |
milestone: | none → lunar-updates |
Changed in xdg-desktop-portal (Ubuntu Lunar): | |
status: | New → Triaged |
milestone: | none → lunar-updates |
Changed in xdg-desktop-portal (Ubuntu Mantic): | |
milestone: | none → ubuntu-23.10-beta |
Changed in xdg-desktop-portal-gnome (Ubuntu Mantic): | |
milestone: | ubuntu-23.04 → ubuntu-23.10 |
milestone: | ubuntu-23.10 → ubuntu-23.10-beta |
description: | updated |
I have tested on Ubuntu 23.10 with xdg-desktop- portal- gnome 44.2 and xdg-desktop-portal 1.16.0-3ubuntu1 and the delay is still about 25 seconds. The delay goes away if xdg-desktop- portal- gnome is not installed.