Public bug reported:

Historically, xdg-desktop-portal-gtk had two roles:

* 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-daemon or a libmutter-based
compositor). Interfaces: Background, Remote Desktop, Screencast,
Screenshot, Wallpaper.

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.

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

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

Title:
  Regression: GNOME-specific interfaces not available in main

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to