Terminal does not focus correctly. Sends focus to code editor instead.

Answered

There seems to be a bug with the focus behaviour for the Terminal tool. I'll describe how to reproduce it:

Open a terminal window, then select somewhere in the code editor to give it focus instead.

Select another tool window (e.g. "Messages", or "TODO").
Select the "Terminal" tool again and notice that the command line will not be focused.

If I start typing then the text will type into the code editor instead.

-=-=-=-=-=-=-=-

If this is not a bug, is there some way to change this behaviour in the settings so that selecting the Terminal will always give it focus?

5 comments
Comment actions Permalink

Can't reproduce with 2016.2.4 on Windows.

This may be specific to OS/Java versions and we have it already reported here: https://youtrack.jetbrains.com/issue/IDEA-122965.

Please add more information to the issue linked above and attach idea.log there (https://intellij-support.jetbrains.com/hc/articles/207241085).

0
Comment actions Permalink

I was running 2016.1.3 on Ubuntu.
Looks like this issue has been fixed in 2016.2.4.


Thanks!

 

0
Comment actions Permalink

I am using Webstorm and IJ Community Edition 2017. Both have the same issue.

0
Comment actions Permalink

I experience the same issue in IntelliJ Ultimate 2018.1. As a workaround, I open Terminal sessions in tabs to the right of the original Terminal session. It's only in the left-most session that command line focus fails. In all session tabs to the right, command line focus succeeds. I leave the left-most session alone and work only in the sessions to the right.

0
Comment actions Permalink

We have a ticket for this problem, please follow: https://youtrack.jetbrains.com/issue/IDEA-172412

0

Please sign in to leave a comment.