IntelliJ 13中的完整键盘模块 [英] Complete keyboard block in IntelliJ 13

查看:201
本文介绍了IntelliJ 13中的完整键盘模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时在运行IntelliJ时,它会完全阻止程序中的所有键盘输入。例如。我可以用鼠标点击文档,我甚至可以右击+粘贴。然而,我不能通过键盘写任何东西,或者使用文档内的箭头或文档之间的箭头导航。

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.

唯一有效的键盘相关动作似乎与系统有关; alt + tab,ctrl + alt + delete,大写锁等等。当标签到另一个窗口时键盘工作正常,所以这不是硬件问题。

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.

这似乎当弹出窗口处于活动状态并且我从IntelliJ中退出并重新进入时发生,但我不确定是否是这种情况。

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.

我想强调它不仅仅是我无法修改的当前打开的文档,因为我只能使用鼠标命令插入文本并删除它(文件没有写保护或类似的东西),它似乎是IntelliJ中所有键盘输入的完整块。

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.

我找到的唯一解决方法是重启IntelliJ。

The only workaround I have found is to restart IntelliJ.

我正在运行Ubuntu 13.10。或多或少我在IntelliJ中使用的所有项目都是maven项目。当使用IntelliJ作为主IDE时,它大约每天发生一次。

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.

推荐答案

这似乎是 IBus 问题。该错误尚未本地化,但很明显它不在IDEA中 - 而是在IBus中或可能在Java X事件处理代码中。

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.

解决方法:


  1. 通过取消设置env,可以为IDEA禁用IBus。变量XMODIFIERS。因此,几乎在文件末尾将以下行添加到 $ IDEA_HOME / bin / idea.sh

  1. IBus can be disabled for IDEA by unsetting env. variable XMODIFIERS. So, add the following lines to $IDEA_HOME/bin/idea.sh at almost the end of the file:



 ...

XMODIFIERS=idea.sh
export XMODIFIERS

# ---------------------------------------------------------------------
# Run the IDE.
# ---------------------------------------------------------------------
...




  1. 据报道,不建议运行 ibus-daemon -rd ,因为它可能导致JVM崩溃。但是,它似乎也有效。

  1. Have been reported that run 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

这篇关于IntelliJ 13中的完整键盘模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆