Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
I do not have a deterministic reproduction. This is the sequence I observed:
- Have T3 Code and the separate, native Google Chrome application open on macOS.
- Switch to Chrome and try to type in its address bar.
- Focus repeatedly returns to the T3 Code chat composer, and the text goes there instead.
- Restart T3 Code. Typing in Chrome works again.
The affected browser is the native Chrome application, not T3 Code's embedded browser panel. The trigger that put T3 Code into this state is unknown.
Expected behavior
Typing in native Chrome's address bar should stay in Chrome. T3 Code should not take keyboard focus from another application without a user action requesting it.
Actual behavior
While the problem was active, attempts to type in Chrome's address bar repeatedly sent focus and text to T3 Code's composer. Restarting T3 Code restored normal behavior.
Impact
Major degradation or frequent failure: normal typing in native Chrome was blocked while the problem persisted.
Version or commit
Not recorded for the affected session.
Environment
macOS; T3 Code desktop with Codex; separate native Google Chrome application. Exact OS, T3 Code, and Chrome versions were not recorded.
Logs or stack traces
No focus-event trace was captured before restarting.
During troubleshooting, preview_status reported available=false, visible=false, and tabId=null in the current thread. A separate Chrome DevTools list_pages call successfully listed native Chrome tabs. These observations do not establish the cause or exclude activity in another thread.
Workaround
Restart T3 Code. This restored typing in native Chrome in the observed incident.
Related reports
- [Bug]: Browser automation steals composer focus across threads #5792 concerns browser automation taking focus away from the T3 composer. This incident has the opposite direction: native Chrome to the T3 composer.
- [Bug]: macOS desktop holds Secure Event Input with no password field focused, breaking global hotkeys #22449 concerns macOS Secure Event Input breaking global hotkeys. No Secure Event Input measurement was captured here, so a shared cause is unverified.
- [Bug]: On macOS, a server restart reopens a closed window and steals focus #24101 concerns focus theft when a backend restart reopens a closed window. That trigger was not established here.
Activity
shivamhwp commentedon Nov 12, 2026
I traced the macOS desktop focus paths on
main. The only path I found that brings T3 forward from another app without a click is SnapShot's capture shortcut. It is off by default. When it is on, its default shortcut (both Shift keys) brings the T3 window forward and takes focus. I have not reproduced the repeated, until-restart behavior, so I can't yet say this is the cause.Could you check these?
juliusmarminge commentedon Nov 23, 2026
@ngpestelos Was SnapShot turned on (Settings → SnapShot) when this happened, and if so, which shortcut was set? Its default is pressing both Shift keys together, which brings T3 Code forward and focuses the composer.
ngpestelos commentedon Nov 24, 2026
I checked my current settings. SnapShot is enabled, and the shortcut is both Shift keys. I don’t recall whether it was enabled when this happened or what I pressed before focus moved. What I observed was that each time I went back to Chrome to type, focus returned to the T3 composer. Restarting T3 stopped it.