GNOME Bugzilla – Bug 739712
keyboard: Delay caribou daemon invocation until really needed
Last modified: 2014-12-26 04:33:15 UTC
Calling g_dbus_proxy_new without any flag means that the caribou daemon will be launched through D-Bus activation, when creating a proxy. It smoked out some corner cases in caribou and at-spi2-core, but generally it would be good to avoid creating unused process. This patch delays the invocation until the "Run" method is called.
Created attachment 290076 [details] [review] keyboard: Delay caribou daemon invocation until really needed
Created attachment 290129 [details] [review] keyboard: Delay caribou daemon invocation until really needed Calling g_dbus_proxy_new without any flag means that the caribou daemon will be launched through D-Bus activation, when creating a proxy. It smoked out some corner cases in caribou and at-spi2-core, but generally it would be good to avoid creating unused process. This patch delays the invocation until the "Run" method is called. -- Change from v1: clear this._daemonProxy after calling "Quit", so the proxy will be recreated on the next call of this._setupKeyboard.
Review of attachment 290129 [details] [review]: Looks good
Attachment 290129 [details] pushed as cbfd6a8 - keyboard: Delay caribou daemon invocation until really needed
*** Bug 741243 has been marked as a duplicate of this bug. ***