Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pycharm with IdeaVim occasionally makes the keyboard unresponsive

Every so often when using PyCharm Community Edition with IdeaVim in Ubuntu 13.10, the keyboard stops accepting input and I have to restart the IDE. The cursor still moves when I click different text areas, but I can't type anything even after pressing escape multiple times. The keyboard works fine outside of the IDE, so I suspect it is an issue with either my use of IdeaVim or IdeaVim itself.

Is there anything I can do to prevent this from happening?

like image 672
Huguenot Avatar asked Apr 25 '14 13:04

Huguenot


4 Answers

You can do killall -9 ibus-x11 as described in the issue given by Games Brainiac. I just wanted to note that you don't need to restart the IDE, as it should continue to work again... which is nice, undo-history is preserved etc. :)

like image 197
Ray Burgemeestre Avatar answered Nov 02 '22 21:11

Ray Burgemeestre


This is very likely a bug. Please vote for this issue -> http://youtrack.jetbrains.com/issue/VIM-759

like image 38
Games Brainiac Avatar answered Nov 02 '22 21:11

Games Brainiac


I have the same problems, i reported it and still do not know of a fix for it. I noticed there are a lot of reported issues like this but i now tried to follow this bug's suggestions:

https://youtrack.jetbrains.com/issue/IDEA-78860

"Alternatively, you can turn off IBus at System Settings | Language Support | Keyboard input method."

After I done this and a system restart, i never had the problem again.

like image 5
Vlad Avatar answered Nov 02 '22 22:11

Vlad


Either upgrade IBus to version 1.5.11 or add export IBUS_ENABLE_SYNC_MODE=1 to your ~/.profile, then restart a session.

https://youtrack.jetbrains.com/issue/IDEA-78860

like image 1
JDiMatteo Avatar answered Nov 02 '22 22:11

JDiMatteo