Using a Gio.DesktopAppinfo().launch with context freezes GJS
Bug #1986522 reported by
Sundeep
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gjs (Ubuntu) |
New
|
Undecided
|
Unassigned |
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.DesktopAppI
const context = Gdk.Display.
context.
// Fix me, context in the following causes a crash;
desktopFile.
To post a comment you must log in.
It seems the problem is quite old, let's move at https:/ /gitlab. gnome.org/ GNOME/gjs/ -/issues/ 553