Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Navigate | Class or File popup closes immediately in IntelliJ IDEA 2017.2

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).

like image 331
alexpfx Avatar asked Jul 21 '17 18:07

alexpfx


People also ask

How do I fix my IntelliJ idea?

From the main menu, select File | Repair IDE. IntelliJ IDEA will automatically launch the first recovery step and refresh the virtual file system. IntelliJ IDEA will display a notification that you can use to continue or complete the recovery process.

How do I jump to a file in IntelliJ?

Press Ctrl+Shift+T or choose Navigate | Go to File... from the main menu . Alternatively, you can press Ctrl+Shift+A , start typing the command name in the popup, and then choose it there.

How do I use jump function in IntelliJ?

There has three ways to trigger a jump:Click the gutter icon on the left. Right click the popup menu 'Smart Jump'. Shortcut: Alt + J.


1 Answers

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.

like image 70
overthink Avatar answered Oct 16 '22 12:10

overthink