Sometimes when running IntelliJ it completely blocks all keyboard inputs in the program. E.g. I can click around a document with the mouse, I can even right click + paste. I cannot, however write anything through the keyboard or navigate with the arrows inside a document or between documents for that matter.
The only keyboard related actions that work seem to be system related; alt + tab, ctrl + alt + delete, caps lock etc. also when tabbing to another window the keyboard works fine, so it is not a hardware issue.
This seem to occur when a popup is active and I tab out of IntelliJ and back in, but I am not certain that this is the case.
I would like to stress that it is not merely the currently open document that I cannot modify, since I CAN insert text and remove it using mouse commands only (the file is not write protected or anything like that), it seem to be a complete block of all keyboard inputs in IntelliJ.
The only workaround I have found is to restart IntelliJ.
I am running Ubuntu 13.10. More or less all projects I work with in IntelliJ are maven projects. It happens roughly once a day when using IntelliJ as main IDE.
Start typing. By default, IntelliJ IDEA displays the code completion popup automatically as you type. If automatic completion is disabled, press Ctrl+Shift+Space or choose Code | Code Completion | Type-Matching from the main menu. If necessary, press Ctrl+Shift+Space once again.
In past IntelliJ versions, ctrl+shift+f would search the entire project (no matter whether you had at some point used "find in path").
IntelliJ IDEA includes several predefined keymaps and lets you customize frequently used shortcuts. To view the keymap configuration, open the Settings/Preferences dialog Ctrl+Alt+S and select Keymap. IntelliJ IDEA automatically suggests a predefined keymap based on your environment.
If you choose Code | Reformat Code from the main menu or press Ctrl+Alt+L , IntelliJ IDEA tries to reformat the source code of the specified scope automatically. For more details on how to reformat, or exclude files from formatting, refer toReformat code.
This seems to be an IBus issue. The bug is not localized yet but it's clear it is not in IDEA - rather in IBus or possibly in Java X events handling code.
Workarounds:
$IDEA_HOME/bin/idea.sh
at almost the end of the file: ...
XMODIFIERS=idea.sh
export XMODIFIERS
# ---------------------------------------------------------------------
# Run the IDE.
# ---------------------------------------------------------------------
...
ibus-daemon -rd
is not recommended as it may cause JVM crash. However, it also seems to work. http://youtrack.jetbrains.com/issue/IDEA-78860
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With