Public bug reported:

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)

** Affects: gjs (Ubuntu)
     Importance: Undecided
         Status: New

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

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

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


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

Reply via email to