All windows lose focus after 3-5 seconds

Mavericks install on new MBP went fine, no issues. Install on PM from MLion went fine but after restarting all windows lose focus in 3-5 seconds, forcing you to reclick on the window to continue, the the problem repeats. All apps including finder.


Suggestions for finding the problem? (I will roll back via TM to ML since it is basically unusable at this time. )

Posted on Oct 23, 2013 7:25 AM

Reply
41 replies

Feb 10, 2014 7:09 PM in response to GTK

Hello fellow Mac users,


The root cause to this problem will be different for everyone as it's usually some rogue app or process that isn't working properly. In my case it was a Symantec utility called 'SymUIAgent.app'.


Follow these steps to identify what's causing this on your machine


  1. Save the code on this file to your Desktop using id_issue.py as the filename: https://gist.github.com/iMerica/8928556/raw/73832a509de4dc5394cf1747b997ea1bd1b0 ff4e/identify_focus_issue.py
  2. Open Terminal.app (Located in /Applications/Utilities/)
  3. In Terminal, change directory to your Desktop by running: cd ~/Desktop
  4. Then run python id_issue.py and just let your computer sit for a few minutes.
  5. If the issue occurs once every few seconds/minutes, that code should print which app is in the foreground. Once you find out what it is, just do some googling on getting rid of that specific app.


I hope that helps!


Thanks,

Michael

Feb 10, 2014 7:08 PM in response to GTK

Hello fellow Mac users,


The root cause to this problem will be different for everyone as it's usually some rogue app or process that isn't working properly. In my case it was a Symantec utility called 'SymUIAgent.app'.


Follow these steps to identify what's causing this on your machine


  1. Save the code on this file to your Desktop using id_issue.py as the file name
  2. Open Terminal.app (Located in /Applications/Utilities/)
  3. In Terminal, change directory to your Desktop by running: cd ~/Desktop
  4. Then run python id_issue.py and just let your computer sit for a few minutes.
  5. If the issue occurs once every few seconds/minutes, that code should print which app is in the foreground. Once you find out what it is, just do some googling on getting rid of that specific app.


I hope that helps!


Thanks,

Michael

Oct 23, 2013 6:25 PM in response to Arnold r

Just did another insatll without migration and no issues. After I rebooted a couple times it stopped but then came back after 10 minutes. Will do the migration thing again and try setting the app nap attribute. Just seems if it is AppNap it would have appeared in the install without migration also.


Did you see the problem appear in Finder? (I did)

Oct 23, 2013 6:29 PM in response to GTK

Spent half hour on the phone with tech support. Shared the screen, and he could see the problem too. Booted in safe mode and the problem disappeared. (Hold down the shift key.) Rebooted normally, then went to settings, users and groups. Clicked on my account, and removed all automatic login items. I had one item there for an old Logitech mouse I dint even have anymore. Rebooted again, and so far the problem seems to be gone. I hope that helps!

Oct 24, 2013 7:09 AM in response to GTK

OK - one more try - this time I'm hopeful I found it. I tried Safe mode again and it stopped, but started again on a regular reboot. So I started looking for any extension I could think of that might be extraneous. I had a control panel in the system preferences that Cox Cable had for doing backups to their servers. I deleted that and the problem immediately disappeared. I've rebooted a couple of times and it hasn't come back yet. Hopeful once again...!

Oct 26, 2013 6:43 AM in response to GTK

It's been 2 days now and I haven't had any more problems, so I have to believe that Cox was the problem in my case, since the issue went away immediately upon removal. I use Dropbox, and hardly ever went to the Cox backup, so that's not a problem for me. There are always some incompatible things anytime a new operating system comes out, despite what they try to do. I'm hoping I don't find anything else, but in this case at least, I wouldn't call it Apple's problem. Cox needs to fix their code. But I wouldn't hold my breath waiting for that to happen, I'd look for another backup solution. If removing the Cox preference pane didn't solve it, you probably have another piece of software somewhere that has a similar issue. Good luck finding it, I know that's not always easy!

Oct 28, 2013 3:12 PM in response to GTK

I am still having this problem on my 2010 17" MBP even after removing all login items, and uninstalling PGP, JMicron PCIe driver and Caldigit driver for my USB 3 PC card (those were suggestions on another forum). I had the problem initially on my Retina MBP but it went away after removing log-in items, which I have successfully been putting back in.


Interestingly I am running the Cox backup software on the Retina MBP and am having no problems with that machine. The machine that continues to have problems is NOT running the Cox software.


I am rapidly concluding that this is a bug in Mavericks that affects only a subset of users. So far there is no single unifying theme to this problem.

Oct 28, 2013 5:06 PM in response to Prashant Joshi

Well it looks like I have to eat my words. The problem recurred on my Retina MBP. It also turns out that although I thought I had deleted the Cox software from my 17" 'book, I hadn't (to remove it, don't just control click on the PreferencePane. Open it and select Uninstall). So I did that on both machines and voila, no more problem! Thanks to jm7878 for posting the correct solution!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

All windows lose focus after 3-5 seconds

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.