After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763103 - gtk-launch: add hack to close up dbus-daemon race
gtk-launch: add hack to close up dbus-daemon race
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-03-04 15:10 UTC by Ray Strode [halfline]
Modified: 2016-03-04 17:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtk-launch: add hack to close up dbus-daemon race (6.09 KB, patch)
2016-03-04 15:10 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2016-03-04 15:10:04 UTC
If gtk-launch exits before the program it starts fully activates,
then the dbus-daemon may avoid doing the activating method call.

This commit works around the problem by pinging the activated
application, and waiting for a reply.

This is similar to the gvfs-open bug here:

    https://bugzilla.gnome.org/show_bug.cgi?id=746534
Comment 1 Ray Strode [halfline] 2016-03-04 15:10:10 UTC
Created attachment 323098 [details] [review]
gtk-launch: add hack to close up dbus-daemon race
Comment 2 Matthias Clasen 2016-03-04 16:01:38 UTC
Review of attachment 323098 [details] [review]:

Looks fine to me. Thanks
Comment 3 Ray Strode [halfline] 2016-03-04 17:44:58 UTC
Attachment 323098 [details] pushed as 50598ee - gtk-launch: add hack to close up dbus-daemon race