Focus Issue

Hello all,

I use ubuntu 19.04, but i've been having this problem for a bit now, and i am not sure what is causing it.

I first started to really notice it in 18.10 (maybe 18.04), but when i have phpstorm open and open up a file in nautilus and if any window is overlapping phpstorm, i am unable to bring focus of phpstorm into the foreground from the background without first click on another open window (doesn't matter which, just any window that is open).

So if nautilus is over phpstorm when i open a file, i have to click again inside the editor to steal focus, so i can bring phpstorm back into focus. 

I am not entirely sure if this is a linux specific issue, been awhile since i used windows for development. so if any one knows a fix for this, that would be brilliant.

5 comments
Comment actions Permalink

It's this one: https://youtrack.jetbrains.com/issue/IDEA-196933
Please check if disabling Help | Find Action | Registry | suppress.focus.stealing helps.

0
Comment actions Permalink

Hello, 

this doesn't appear to have made any difference. maybe this video can show a better idea of what i'm talking about

https://www.youtube.com/watch?v=-YKAOjH7ios

 

0
Comment actions Permalink

Thanks for the video.

I can't find a related bug report on our tracker so I would suggest to submit one at https://youtrack.jetbrains.com/newIssue.

Just to confirm:

1) make sure you're running latest IDE version (2019.1.2)

2) try disabling all custom plugins at Settings | Plugins > Installed > #custom, restart IDE and check the issue after that.

0
Comment actions Permalink

Hello,

I disabled all the third plugins, so still the same issue. I'll file a tracker report here in a bit for it.

thanks. 

0
Comment actions Permalink

I'm seeing similar issues to https://youtrack.jetbrains.com/issue/IDEA-196933 and https://youtrack.jetbrains.com/issue/IDEA-202742 when using any JB IDE over SSH using X forwarding. You could try this as a way to reproduce the problem.

ssh -XC <remote>

cd <intellij_dir>/bin

./idea.sh

And IntelliJ won't focus.

0

Please sign in to leave a comment.