Regression: GNOME-specific interfaces not available in main
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdg-desktop-portal-gtk (Ubuntu) |
Fix Released
|
High
|
Sebastien Bacher |
Bug Description
Historically, xdg-desktop-
* Generic GTK implementations of various interfaces, suitable for all GTK desktops (GNOME, XFCE, etc.) and also as a fallback implementation for desktops that do not have something more "native". Interfaces: Access, Account, AppChooser, Email, FileChooser, Inhibit, Lockdown, Notification, Print, Settings.
* GNOME-specific implementations of various interfaces, suitable for GNOME Shell only (and maaaaybe Budgie, but not XFCE, MATE or Cinnamon because they do not use gnome-settings-
In 1.10.0-2, these roles were separated:
* Generic GTK stuff is still in x-d-p-gtk
* GNOME-specific functionality has moved to x-d-p-gnome, a separate source package, which is installed by the gnome-core metapackage in Debian
In Ubuntu, x-d-p-gtk is in main but x-d-p-gnome is in universe (and presumably not installed by default). This means that users of Snap and Flatpak apps will not have access to the affected interfaces via xdg-desktop-portal any more, which is a regression, particularly if using native Wayland rather than X11.
There are two possible solutions to this:
1. Move x-d-p-gnome to main, and install it by default (in any installation that has GNOME Shell). GNOME upstream consider it to be part of a complete GNOME desktop. This is the long-term solution.
2. Patch x-d-p-gtk to reinstate the build-dependencies that were disabled in 1.10.0-2, and re-enable them in d/rules. This provides an older version of these interfaces, which is no longer routinely tested by upstream or Debian. This solution will probably stop working in a future release when these interfaces are removed completely.
I would recommend the first solution for Ubuntu 22.04 LTS.
I am probably going to use the second solution in Debian bullseye-backports, and if Ubuntu people want to maintain a backport of x-d-p-gtk to older suites like focal, it's probably the right thing to do for those too.
tags: | added: jammy |
Changed in xdg-desktop-portal-gtk (Ubuntu): | |
status: | Fix Committed → Fix Released |
As a side note, if the Ubuntu maintainers of the x-d-p family need to maintain a patched x-d-p or x-d-p-gtk, you're welcome to use `ubuntu/*` branches in its Debian git repository, similar to how the GNOME team handles their packages that need to be patched in Ubuntu. If this would be useful, please let me know who would need access.