After upgrading Ubuntu 11.04 (Natty Narwhal) to 11.10 (Oneiric Ocelot), GVim starts to behave weirdly.
6 May 2012 UPDATE: Issue persists even after upgrading to 12.04 (Precise Pangolin)! 🙁
Symptoms:
- It sometimes freezes during startup, rendering the window greyish. If you wait, it may or may not regain control.
- When it doesn’t freeze during startup, typing response becomes very slow. For example, when you hit ‘j’ to move the cursor down 1 line, it takes ~7s before the action takes place. Key response then returns to normal if GVim is editing an empty file.
- When GVim loads a large file, typing response becomes very slow all the time.
- Sometimes you may see this error in the Terminal window you used to run gvim:
** (gvim:5933): IBUS-WARNING **: Create input context failed: Timeout was reached.
- Other times you may see this instead:
** (gvim:5760): WARNING **: Unable to register window with path '/com/canonical/menu/5C00024': Timeout was reached
Workaround:
Run gvim -f
instead of just gvim
.
Put this in your .bashrc
if you don’t want to add -f
all the time, or if you already have other aliases using gvim and you don’t want to change all of them:
gvim(){ setsid /usr/bin/gvim -f "$@"; }
11 replies on “GVim problems after upgrading to Ubuntu 11.10 Oneiric Ocelot”
Thanks so much!
Wow, thank you! this was so unnerving!
Thank you! This was driving me crazy!
Very helpful tip. 謝謝。
Thanks for this.
Thanks!
It just works, thank you!
same problem, workaround fine, 谢谢
Dude, this problem has been incredibly irritating since I upgraded to 11.10, and I’m glad you found a workaround. Much thanks.
got the same problem… try to uninstall gvim, but still like this… don’t know why.