Windows lose focus after Big Sur upgrade.

Unbelievably annoying bug with Big Sur. It doesn't matter if I am typing in a browser, office app, whatsapp etc etc, the window I am typing in loses focus (it's done it three time just typing this) and I have to click back into it to carry on typing. Is anyone else experiencung this please?

MacBook Air 13″, macOS 11.0

Posted on Dec 6, 2020 3:40 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 16, 2020 12:25 AM

OK, so I've figured out my particular issue and it sits squarely with Norton 360. 8.6 doesn't work properly with Big Sur, even though Norton say it's compatible with Norton 360, 8.6 it isn't.

I know I'll probably get a lot of replies saying "why are you running Norton" but it is what it is.

The loss of 'focus' thing comes about as Norton 360 installs a menu bar icon (which you can't get rid of) that appears and disappears for whatever reason, and each time it reappears it takes the focus away from the current window.

The ONLY way I could resolve this was to uninstall Norton 360 and then do a manual clean up of left over files. That coupled with loads of restarts I managed to get to a place where the menu bar icon no longer appears at all, and hey presto, no more issues.

40 replies
Question marked as Top-ranking reply

Dec 16, 2020 12:25 AM in response to stef_dierckx

OK, so I've figured out my particular issue and it sits squarely with Norton 360. 8.6 doesn't work properly with Big Sur, even though Norton say it's compatible with Norton 360, 8.6 it isn't.

I know I'll probably get a lot of replies saying "why are you running Norton" but it is what it is.

The loss of 'focus' thing comes about as Norton 360 installs a menu bar icon (which you can't get rid of) that appears and disappears for whatever reason, and each time it reappears it takes the focus away from the current window.

The ONLY way I could resolve this was to uninstall Norton 360 and then do a manual clean up of left over files. That coupled with loads of restarts I managed to get to a place where the menu bar icon no longer appears at all, and hey presto, no more issues.

Jun 22, 2021 10:39 AM in response to glandy987

Try:

  • Restart your Mac
  • When you restart, hold down the <Shift> key until you see the login window (restarting will likely take a while longer, you will have to endure keeping the <Shift> depressed the whole time until you see the log in window).
  • You are now logged in in safe mode (it says so in RED in the top right-hand corner of the menu bar)
  • Try to reproduce the problem
  • If it does not occur again, a conflicting module of a third-party app was not loaded
  • Restart again, this time don’t hold down the <Shift> key
  • When you are logged in, does the problem persist?

Jul 5, 2021 8:50 AM in response to Ignace Van Caneghem

If you haven't tried it already, I suggest trying the python script from the thread linked by Ignace above. For me, that script identified the offending process as CUH, the Corel Update Helper. I removed that app and I have not seen this issue since then. Overall it looks like different people have different applications that trigger this issue. One thing I did notice was the CUH process was not responding when I checked the activity monitor. It is possible that hung processes are contributing to the issue regardless of what that process is. If you're still having a difficult time identifying the cause on your machine, you might want to look there to see if anything stands out.

Aug 28, 2021 11:28 AM in response to johncira

Yes. Below is a python script. Run this in a terminal window. When this issue happens look at the terminal window. This script will tell you which task was the last one to get focus. That is the one causing the problem. Stop running that program and this issue goes away.


#!/usr/bin/python

# Prints current window focus.

# See: https://apple.stackexchange.com/q/123730

from AppKit import NSWorkspace

import time

workspace = NSWorkspace.sharedWorkspace()

active_app = workspace.activeApplication()['NSApplicationName']

print('Active focus: ' + active_app)

while True:

time.sleep(1)

prev_app = active_app

active_app = workspace.activeApplication()['NSApplicationName']

if prev_app != active_app:

print('Focus changed to: ' + active_app)

Dec 6, 2020 5:58 AM in response to glandy987

Try reducing the Trackpad Tracking speed in System Preferences, as it may be overly sensitive at higher settings. My Air has its Trackpad setting at:



and if I happen to have a heavier weight, long sleeve garment on, the cuffs will drag across the Trackpad, and send my cursor elsewhere from where I am typing. Roll my sleeves back and its a non-issue. I may need to further reduce my Tracking speed.

Feb 3, 2021 10:28 AM in response to glandy987

Ok, after a bit more sifting through the console messages and trying to reproduce and correlate when focus is lost with the messages, I may have found the cause on mine. I have a program called "Keep Drive Spinning" which is to prevent my external USB hard drive from spinning down. Every time focus was being lost, I saw an entry for that app. After killing an re-running that app, reconfiguring it's drive wake settings and such, all seems to be well for me. This is such a unique thing, I'm sure it's not the solution for everyone else.

Feb 21, 2021 10:04 AM in response to glandy987

There is no reason to ever install or run any 3rd party "cleaning", "optimizing", "speed-up", anti-virus, VPN or security apps on your Mac.  This user tip describes what you need to know and do in order to protect your Mac: Effective defenses against malware and other threats - Apple Community   


Uninstall the Norton software according to the developer's instructions. Also any other cleaning, optimizing or A/V software that might be installed.


Jun 22, 2021 11:51 AM in response to Whitfield G

What you’re saying is: there is a cause for this issue that occurs when a module is loaded that causes the behaviour.


It’s very likely an app that you use frequently that causes the issue. You would need to monitor (as would I), which app that would be. The easiest, but likely not practical in your normal workflow, way to see that is to use one app at a time and then see when the issue starts to occur again.


I’m in the same boat. I couldn’t say which app it is, or whether it’s a class of apps that uses the module, which causes the problem to occur.


I did not say: remove the app. I said: restart in safe mode, which only launches the OS and does not load other modules. When you reboot after that, that module not being loaded at startup, the problem does not occur.


There appears to be an app/procedure that allows the user to see which module steals the focus. I don’t know how to use that procedure. Once identified, killing that process in the Activity Monitor will likely stop the issue from occurring.


I’ll be happy to use my little procedure for those times the problem does occur, which is not all that frequent. That is not enough as a final solution, this is how one module is created and that has to be addressed by whomever created it.


Figure out what that module is, what app it is connected to, share that knowledge with this community and think of Jack Woltz when you write the developer responsible for creating the problem.


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.

Windows lose focus after Big Sur upgrade.

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