Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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 10:39 PM in response to iMichael_

IMichael, thanks for the python code. My culprit is iVaultmenu. I haven't been able to identify where it is running or where it came from. I suspect a product called istat menu that didn't clean up everything after being uninstalled. I don't see a process running called ivaultmneu. Any other ideas how to isolate?

Jun 25, 2014 2:21 AM in response to GTK

I just want to report another culprit for loosing focus on windows under X11 (under Mavericks):


In my case it was iCloud foto sync. I had it deactivated in the iCloud Preferences panel, but anyway in the subordinated Options dialog the checkmarks for foto streaming and sharing were marked. I unchecked them, and now the focus stays on the window I use. Strange…


Hope it helps somebody… (it was difficult to find out; Foto syncing appearing in activity monitor gave me the clue)

Cheers - Klaus

Jul 19, 2014 11:36 AM in response to iMichael_

Thank you for the python code!


After running it in terminal, I was able to find the culprit by selecting each active app one at a time and doing things in the app while waiting for the window to lose focus. Once it lost focus I waited until the python code identified the front-most app.


For me it turned out to be the latest version of MalTagsHelper - a plug-in for Mail.

Apr 2, 2015 7:03 AM in response to iMichael_

Thanks for the code - will try that if my problem continues.


On two systems I was having this sort of issue but only intermittently.


In both cases I had trackball software installed for trackballs which are no longer in use because the hardware stopped working.


I have been using multi-button trackballs since the Mac SE - and find them far superior to any mouse - the trouble is that over the years the device drivers have often lagged behind and older hardware has dropped out of support. I have had a couple devices last for many years - but they have all failed to the point where now I have an external Apple Trackpad linked to each of my notebooks - but I had forgotten to remove the software that was necessary for the trackballs. One one machine I still have Kensington's MouseWorks installed and on the other SteerMouse - SteerMouse was awesome and filled the gap left by Kensington in their product support very nicely.


Will have to see over the next week or so if removing those no longer needed bits of software has solved my issue or if I need to use the code to identify other culprits.

Apr 3, 2015 7:32 AM in response to Matt Wolanski

Update - had one instance of lost focus during a period when the script was not running (changed the parameters to have it run longer).


So far only had one thing pop up unexpectedly - Google Drive - though I did not notice a loss of focus at that time as I may have been clicking from one app to another at the same time.


I am turning off Google Drive for awhile to see what happens, that was only on one of my two systems.


I am thinking about a modification to the code where instead of showing output every tick comparing the new value to the old value and then only showing output when there is a change of focus - that way it could run for much longer and have a smaller output that is easier to see what happens - of course then it might be harder to detect an unwanted change since most entries would be alone - whereas an unexpected loss of focus while in a given app would be only one or maybe two outputs amidst a large block of whatever you were working on when it happened.


On my work system at least I switch between many apps in the course of doing my work - at home I do run lots of apps but don't need to switch between them nearly as often.

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