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
Question marked as ⚠️ Top-ranking reply

Posted on Feb 10, 2014 7:09 PM

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

41 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

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

Reply

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

Reply

Oct 23, 2013 5:15 PM in response to jm7878

Did a little more testing. Tried a clean install on a reformatted scratch disk, then used migration assistant to move everything over from MLion. Had exacly the same issue. Next test is just a Mavericks install, no migration.

Reply

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

Same for me this morning. Rebooted a few times and now, spontaneously, no issues. Did a little research online and found similar threads implicating the App Nap feature. Disabled this feature in each app through Get Info and checked off Prevent App Nap. Still no issues.

Reply

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)

Reply

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!

Reply

Oct 24, 2013 6:16 AM in response to jm7878

This apears to have worked for me. I removed all the automatic login items then tried a reboot in normal mode. That did not do it. Then rebooted in safe mode, which seems to not have the issue and just rebooted and the issue has gone away.


Thanks!

-Rindress

Reply

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...!

Reply

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

I am having the same problem. I have tried rebooting sometime that works and other times it doesn't. I will try the safe mode to see if it helps. I hope Apple support is following this and working on a fix as it makes the system pretty unusable.

Reply

Oct 24, 2013 8:24 AM in response to jm7878

I have the same Cox pref panel. Problem is I use Cox for my offsite backup so deleting it is not an option. Anyone else with the issue have the "Cox Secure Online Backup for Mainintosh" preference pane installed?

Reply

Oct 24, 2013 9:48 AM in response to GTK

I did. (Have the cox preference pane). I removed it from the preference pane. I then rebooted. This is the longest I have been able to type since the problem started, so maybe that was the issue. I don't use it for backup, so I tried to uninstall it but I kept getting errors about connecting to ivault.

Reply

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!

Reply

Oct 26, 2013 2:47 PM in response to GTK

What happened is I added programs back into the automatic login item group, and had the problem again. Once I removed all apps from the auto login group the problem went away. So it seems to be a problem with Cox and the auto login group.

Reply

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.

Reply

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!

Reply

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.