Navigate | Class or File popup closes immediately

2019-02-12 08:30发布

I'm having a annoying problem since I update IntelliJ IDEA Community to this version:

IntelliJ IDEA 2017.2
Build #IC-172.3317.76, built on July 15, 2017
JRE: 1.8.0_152-release-915-b5 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.8.0-53-generic

There is a problem with "Main Menu/Navigate/Class" action. When a trigger this action using keyboard shortcut or menu access, most of time the "Enter class name" window is showed, but closes immediately.

Sometimes the action works ok, but most of time, not.

I'm using linux Mint 18.2 (Cinnamon).

3条回答
The star\"
2楼-- · 2019-02-12 09:01

It's a known issue, please follow it here for updates:

  • IDEA-173000 Navigate | File and Class popups disappear

Workaround (add the following via Help | Edit Custom VM Options):

  • -DactionSystem.xWindow.remove.focus.from.nonFocusable.popups=false

Downgrading to 2017.1 version is another option.

UPDATE: the issue is resolved in 2017.2.3 release.

查看更多
Explosion°爆炸
3楼-- · 2019-02-12 09:04

According to the release notes it's fixed in the latest release - 2017.2.3 (build number IU-172.3968.16) - 173000 is in the list: https://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+2017.2.3+Release+Notes?fromIDE

查看更多
Viruses.
4楼-- · 2019-02-12 09:14

What ultimately worked for me was adding -Dfocus.follows.mouse.workarounds=true to my custom VM options (Help > Edit Custom VM Options).

I found this in https://youtrack.jetbrains.com/issue/IDEA-173000, mentioned above.

I use a tiling window manager (i3) which I suspect is related.

查看更多
登录 后发表回答