It seems the problem is quite old, let's move at
https://gitlab.gnome.org/GNOME/gjs/-/issues/553

** Bug watch added: gitlab.gnome.org/GNOME/gjs/-/issues #553
   https://gitlab.gnome.org/GNOME/gjs/-/issues/553

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gjs in Ubuntu.
https://bugs.launchpad.net/bugs/1986522

Title:
  Using a Gio.DesktopAppinfo().launch with context freezes GJS

Status in gjs package in Ubuntu:
  New

Bug description:
  Creating a Gio.DesktopAppInfo for a desktopfile, then launching with
  an app_launch context freezes GJS. Launching with context set to null
  works. There is no debug information on the console.

  Using Gtk4

  Here is the relevant code-

  let desktopFile = Gio.DesktopAppInfo.new('gnome-background-panel.desktop');
  const context = Gdk.Display.get_default().get_app_launch_context();
  context.set_timestamp(Gdk.CURRENT_TIME);
  // Fix me, context in the following causes a crash;
  desktopFile.launch([], context)

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to