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.

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

Title:
  gvim in Precise can't connect to ibus and takes a long time to load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to