Public bug reported:

io.snapcraft.PrivilegedDesktopLauncher should be deprecated and updated
as io.snapcraft.PrivilegedDesktopLauncher2 providing a platform data
parameter.

This is very relevant for desktop applications because it can provide
information to that the shells must consume in order to properly
understand the launch context.

In particular, the platform data can contain:
 - xdg activation token (required to make the desktop application to use the 
XDG_ACTIVATION_TOKEN [1])
 - Startup notification information (to provide the shell the launch 
notification)

Potentially other parameters, reason why the APIs generalize this with
an a{sv} for platform data.

The code of it also does not support dbus activation, as per this it
should changed to rely on `Gio.DesktopAppInfo` to launch desktop files
given that re-implement that complexity is not something we should
handle ourself.

[1]https://wayland.app/protocols/xdg-activation-v1

** Affects: snapd (Ubuntu)
     Importance: Medium
         Status: Triaged

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

Title:
  io.snapcraft.PrivilegedDesktopLauncher misses platform data parameter

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


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

Reply via email to