且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Intellij右键单击Ubuntu中的上下文菜单问题

更新时间:2022-12-16 18:38:53

事实上,这是IDEA中Eclipse键盘图特有的问题,我提交了 http://youtrack.jetbrains.net/issue/IDEA-66182 跟踪它,请观看/投票。




打开设置|按键映射,按复制按钮创建Eclipse键映射的可编辑副本,在复制查找其他组中的显示上下文菜单操作中,它定义了多个快捷方式,从快捷方式列表中删除Button3 Click,按Apply。右键单击后,上下文菜单将不再消失。



I have a problem exactly described in http://devnet.jetbrains.net/thread/292434;jsessionid=771E7DC3F119EA0C822164B3A4556372?tstart=0 however I am just using the plain Intellij with Ubuntu.

OS: Linux-Ubuntu-10.10 (32 bit)- Latest

Desktop Manager : GNOME default

JDK: JDK 1.6.0_24 Oracle Latest update

IDEA: 10.0 Latest build

Build: IU-103.72

click and hold right mouse button -> context menu shows up -> release mouse button -> context menu disappears I am normally used to that the context menu stays open in that case without holding the mouse button.

The workaround mentioned in the article works but it is too much of a pain for someone who codes 6-7 hours a day.

Can someone please provide some options along where/what I should debug etc. All other applications work perfectly fine (including Eclipse !)

1) I have already tried disabling Compiz (System -> .. ->Visual effects) 2) I have also put the mouse sensitivity to the minimum

UPDATE: Ok I was using the Eclipse theme for keyboard shortcuts (ie, trying to use the same keyboard shortcuts of eclipse in Intellij) when I flipped back to default ones it works !!!

Indeed, it's a problem specific to the Eclipse keymap in IDEA, I've submitted http://youtrack.jetbrains.net/issue/IDEA-66182 to track it, please watch/vote.

I've also found a workaround for this problem which is very simple:

Open Settings | Keymap, press Copy button to create an editable copy of the Eclipse keymap, in the copy find "Show Context Menu" action in the Other group, it has multiple shortcuts defined, delete "Button3 Click" from the list of shortcuts, press Apply. Context menu will no longer disappear after right click.