Comment 3 for bug 987707

Revision history for this message
Jason Conti (jconti) wrote :

This may be the ibus problem mentioned many times in bug 856779 (so this is probably a separate issue from that bug). With ibus running I experience the ~20 second pause before gvim finally starts. However, after exiting ibus, gvim will start immediately.

The real problem seems to be that without -f, the gvim process cannot connect to any dbus addresses (so I would say this bug is related to bug 776499 as well, I am seeing ** (gvim:14213): WARNING **: Unable to create Ubuntu Menu Proxy: Timeout was reached)

We seem to hang in src/ibusbus.c:ibus_bus_connect in the call to g_dbus_connection_new_for_address_sync. After modifying the code to pass the GError argument, we get the not so helpful message: Timeout was reached, the same as Ubuntu Menu Proxy.

My first thought was this was an environment issue, but the IBUS_ADDRESS seems to be correct as well as DBUS_SESSION_BUS_ADDRESS, so now I'm not sure what the problem is.

We could work around the hang in ibus by modifying ibus_bus_connect to use the asynchronous version of g_dbus_connection_new_for_address, but ibus still won't work in gvim.