macOS “Phantom Focus” Bug – Window Focus Switches to Nothing, Keyboard Input Stops Working

I am reposting this because my previous posts on this issue appear to have been removed or de-indexed from my Apple Support Communities profile. I am saving both the forum link and the full text of this report going forward.


This is a long-standing macOS bug where window focus is lost entirely and switches to nothing. No visible app or window becomes active, and keyboard input stops being delivered to any application until certain system services are restarted or the user logs out.


This is not an application bug. It is an OS-level focus / responder chain failure.

Update: This issue is still present in macOS Tahoe 26.2

As of macOS Tahoe 26.2, the same behavior persists:

• Window focus switches to nothing

• Keyboard input stops being delivered to any app

• No visible window owns the responder chain

• Recovery still requires restarting UI services or logging out

This confirms the bug now spans multiple major macOS generations.

Symptoms

• Active window suddenly loses focus

• No other window becomes active

• Keyboard input no longer works in any app

• Clicking windows may visually highlight them, but typing does nothing

• Menu bar remains visible, but input focus is effectively “null”

• The system behaves as if it is focused on an invisible or non-existent window


Only recovery options:

• Restart SystemUIServer and/or Dock

• Restart WindowServer (logs out the user)

• Reboot the system


Affected Systems

I have reproduced this across multiple macOS versions and hardware systems, including:

• macOS Sonoma

• macOS Sequoia

• macOS Tahoe 26.2

• Mac Studio and MacBook Pro

• With and without external displays

• With and without third-party software running


This rules out:

• A single app

• A single OS release

• A single hardware platform

Conditions that Increase Frequency

The issue becomes more likely under:

• Long uptimes

• External display usage

• Multiple Spaces / Mission Control

• Heavy use of menu bar utilities

• Accessibility APIs enabled

• High background activity or I/O


This strongly suggests a race condition between:

• WindowServer

• Accessibility focus APIs

• Mission Control / Spaces

• Menu bar agents

• Keyboard input routing

Historical Evidence

Historically, restarting keyboardservicesd would sometimes restore functionality, demonstrating that the responder chain was breaking at the OS level. However, in recent macOS versions this service is SIP-protected and cannot be restarted:


Operation not permitted while System Integrity Protection is engaged


This shows Apple is aware this service is security-sensitive, yet users are now left without any supported way to recover input focus without logging out.

Current Mitigation Options


Soft reset:


killall SystemUIServer


If needed:

killall Dock


Guaranteed fix (forces logout):

killall WindowServer

Apple should not require users to log out or reboot to recover from a basic UI focus failure.

Why This Matters

This is not a minor usability issue. When this occurs:

• The system becomes partially unusable

• Active work is disrupted

• Unsaved work is at risk

• Accessibility is broken

• Keyboard input is effectively disabled

This is a fundamental failure of core OS input handling.

Previous Reporting

I have previously submitted this issue through Feedback Assistant with:

• Screen recordings showing focus switching to nothing

• sysdiagnose logs captured during the failure

• Detailed reproduction notes

However, there is:

• No public tracking

• No acknowledgement

• No visible resolution

• No safe user-level recovery method

Meanwhile, forum posts describing the issue appear to be buried or detached from user profiles, which prevents collaborative validation and debugging.

Technical Characterization

This behavior is consistent with a null focus state where:

• No NSWindow owns the responder chain

• Keyboard events are not routed to any application

• The system believes it is focused, but on an invalid target

What Apple Needs to Do

Apple should:

  1. Acknowledge this as an OS-level bug
  2. Provide a supported way to safely restart focus and input services
  3. Fix the underlying coordination between:
    1. WindowServer
    2. Accessibility services
    3. Mission Control / Spaces
    4. Keyboard routing
  4. Stop de-indexing or shadow-hiding community reports of system regressions

Until This Is Fixed

Users are forced to rely on:

killall SystemUIServer
killall Dock


or full session resets via:


killall WindowServer


This is not an acceptable long-term solution.

Final Note to Apple Engineers

This bug is real, reproducible, and has persisted across multiple macOS generations, including Tahoe 26.2. It disproportionately affects:

• Power users

• Multi-display setups

• Accessibility users

• Long-running work sessions

This is not an edge case. It is a core UI reliability issue that needs engineering-level attention.


Posted on Jan 27, 2026 6:43 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 28, 2026 9:46 AM

Additional Diagnostic Evidence (captured during active failure - right now)


  1. lsappinfo front returned no frontmost application:

ASN:0x0-0x9082079:

This shows the system had no valid active process associated with keyboard focus.

ChatGPT_Debug_Focus Switching.t…


2. WindowServer repeatedly reports invalid windows:


_CGXPackagesSetWindowConstraints: Invalid window

This indicates WindowServer is operating on destroyed or invalid window objects.

ChatGPT_Debug_Focus Switching.t…


3.Keyboard focus chain resolves to a null display:


chain did update ... <keyboardFocus; display: null> containsEndOfChain: YES

This shows keyboard focus routing is considered complete even though it resolves to no real display or window target.


4.GUI clients fail to respond:


pid #### failed to act on a ping it dequeued before timing out

This suggests stalled clients are contributing to focus ownership corruption.


5.Ghost window creation/destruction:


FuseBoardServices ... updated window from "none" to "hidden"

Indicates windows entering illegal or invisible states that still participate in focus management.

32 replies

Apr 20, 2026 4:57 PM in response to FutureX

You realize your excellent report will not get to the necessary Apple personnel. Make a copy of your post and go to Feedback - macOS - Apple  and tell Apple the problem and include your post.


A quick way I've found to restore the Focus to an app is to click on the Finder icon in the Dock, close the resulting Finder windoe and then the app your current in. That restores the Focus for all apps.


Jul 3, 2026 12:48 AM in response to FutureX

Resolved for me — sharing in case it helps others.


I'm on macOS Tahoe 26.5.2, work-managed via Microsoft Intune/Company Portal. I was experiencing the focus-stealing issue where the active window would constantly lose focus, making it impossible to use any application.


I had recently turned off "Sync this Mac with iCloud Photos" and I believe that process was not completing cleanly in the background, which seemed to be triggering repeated system-level authorization events that stole focus.


Fix: I signed out of iCloud completely, then signed back in. The issue has not returned since.


Hope this helps someone!

Sep 24, 2026 6:57 AM in response to rockysecrets

After a few months of being aggravated with this issue I finally fixed it after reading all the things I should look for and try. The fix for me as easy after carefully doing one simple task for me.


I used the Crash Reports and found some things that kept crashing. I removed them one by one and restarted to make sure it was the cause. My issue was a Techtool Monitor that was causing pain.


I thank everyone for the information here.


And for the record I am using upgraded OS to GoldenGate v 27.2 and the software tool version was not fully tested with it.

macOS “Phantom Focus” Bug – Window Focus Switches to Nothing, Keyboard Input Stops Working

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