Linux Stealing Focus
I'm not sure how much discussion, if any, there's been about this, but its been bothering me for a long time. When using Idea in Linux, Idea steals the window focus away from whatever else you're doing. Like when I go to start Idea up. It'll take a little while, so I'll usually hit the icon, then switch to email and type away. Well, at several points during that load up, focus will go to Idea, but my browser window will still be up. I have on more than one occasion introduced bugs into my code because what I was typing wound up in a code file instead of an email.
Besides the potential for bugs, its just really annoying. Really, really annoying. What makes it worse is that it happens multiple times during the load.
Same thing for builds or whatever else.
Is there any way to change that? I just assumed this would be fixed up over the past couple years, but its still there in 8.1. Arguably worse.
Please sign in to leave a comment.
Please, try IDEA 8.1.1
Kevin Galligan wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
As far as I know this issue has been fixed for 8.1.1. It has been much better with the last eaps.
Wallaby
Idea 8.1.1 inspired the post
I solved this issue for myself long time ago, solution is for KDE but I'm sure GNOME has something similar:
- Click on the window icon (left-top)
- Click "Configure Window Behavior"
- Next to "Window-Specific Settings"
- Add new configuration using new button:
Description: whatever
Window class: java-lang-thread (substring match)
On the workarounds tab enable "Focus stealing prevention" / Force / High
Voila, you can fine tune above settings as it will prevent all java windows from all types of java apps to steal your focus
Regards
On 05/05/2009 01:27 PM, Kevin Galligan wrote:
>
>
>
>
Interesting. I'm going to have to dig around for it. Gnome doesn't make that available on the window menu, but there is some chatter about "Focus stealing prevention" in gnome available by other methods.
I still have the problem
build 8.1.2 #9852
Step to duplicate: update VCS (control + T) - I did it when I didn't have anything to update.
while that running start typing an email and IDEA will steal your focus to tell you all files are update to date.
This is very annoying! Is there a startup flag that we can pass in to disable focus setting, requesting, stealing?
Experiencing the same with WebStorm 2019.2.3 and pretty much every previous version since I started using it a couple of years ago. I too am driven nuts by this!
Has anyone found a work-around for Gnome?
EDIT
Seems like there's a meta-issue to track this and other similar issues: https://youtrack.jetbrains.com/issue/IDEA-208970
Have the same problem with Ubuntu 20.04.1 LTS
and IntelliJ Ultimate
- 2020.2.3
- 2020.2.2 (Rollback)