I am running the latest version of CLion (2018.2.2), and have noticed this issue. If I move the focus away from the CLion window and then back without using my mouse, I can't type on the editor anymore until I click it, or until I press Ctrl+Tab and select the file being edited. When I switch back to CLion from another application using the keyboard, if I press the Return key, new lines are added to the current file being edited, but that is the only key that works.
I've made a GIF that shows the issue.
I am using the i3 window manager.
$ java --version
java 10.0.2 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
Here is the GIF:
Has anyone faced this issue? If so, how did you fix it?
Edit: I have IdeaVIM enabled in this case. I tried disabling it to see if that was causing the issue, but the issue persisted. So it is not IdeaVIM's fault.