Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.707.9981.0
What subscription do you have?
ChatGPT account; exact plan not relevant to the behavior.
What platform is your computer?
Microsoft Windows 11 Pro, version 10.0.26200, 64-bit.
What issue are you seeing?
When an agent invokes Codex's own in-app Browser and creates a new browser window, pane, or tab, the Codex desktop app forces itself into the foreground and steals OS focus from whichever application the user is actively using.
A common example is working interactively in Chrome while a Codex task continues in the background. As soon as that task initiates the in-app Browser, the Codex window pops in front of Chrome and interrupts the user's active work.
This report is specifically about Codex's built-in/in-app Browser. It is not about the Chrome extension, and it is not about Windows Computer Use taking over the pointer or keyboard.
The behavior has been observed repeatedly when a new in-app browser surface is initiated.
What steps can reproduce the bug?
- Start a task in Codex Desktop on Windows that will use the built-in Browser.
- Switch to Chrome or another application and continue working there while the Codex task runs.
- Let the Codex agent invoke the in-app Browser and create/open its browser surface.
- Observe that Codex brings its main window to the foreground, taking focus away from the active application.
What is the expected behavior?
Agent-initiated in-app Browser creation should happen without activating or foregrounding the Codex desktop window.
Codex should preserve the user's currently focused application. It should bring itself to the foreground only when the user explicitly initiates that action, such as manually opening Codex or manually opening the browser view.
Additional information
This makes background Codex tasks disruptive because the focus change can interrupt typing, clicking, and other work in the active application.
A user-facing workaround should not be required. The browser window/view should be created or shown without activating the Codex top-level window, preserving the current Windows foreground window unless the user initiated the navigation.
Activity
wbdb commentedon Jul 21, 2026
Same for image generation: #34546
yugao-tum commentedon Sep 10, 2026
Additional report on Windows with Codex installed package version 26.903.8094.0.
The disruption also occurs while working in another conversation inside the same Codex desktop app, not only when switching to an external application.
Observed scenario
This prevents normal interactive use of another conversation while a browser task runs and raises a concern about text entering an unintended field.
Additional diagnostic observation
The task's execution trace includes browser creation with
visible: falseand repeated webpagefill/pressoperations. Hidden tab creation alone therefore should not be assumed to guarantee input isolation. I have not isolated which operation triggers the interference.Expected behavior
Background browser actions should preserve the user's active conversation and text input focus, including any ongoing input-method composition.
I cannot yet distinguish rapid focus switching from duplicated input delivery, or confirm that this has the same root cause as the original report. Please advise whether this cross-conversation input interference belongs here or should be tracked separately.
No private conversation content, task identifiers, local paths, logs, or screenshots are attached.
Kaddtechnologies commentedon Sep 30, 2026
what is the update with this? This is still happening in Sept 2026
wbdb commentedon Sep 30, 2026
I've started using Vercel's Agent Browser because it's also capable of handling Basic Auth and so on.
https://github.com/vercel-labs/agent-browser
Linze0709 commentedon Oct 15, 2026
Additional Windows report: Chinese and English typing enters the agent-controlled webpage, disrupting both workflows
While one Codex chat is entering text in the built-in browser, I type in another Codex chat. My keyboard input can end up in the webpage that the agent is operating. I observe this with both Chinese and English input. This interrupts my own typing and changes the text in the agent's working field, interfering with Codex's task as well.
This is not limited to Chinese IME composition or the app briefly coming to the foreground. It prevents normal concurrent use of two chats. The September 10 report above describes a closely matching scenario.
Existing test results
I have already participated in controlled checks using a disposable local static page while I physically typed in the Codex chat composer:
Typing also recovered after the original built-in-browser task stopped. The test table establishes the observed typing interference; the Chinese/English text entering the webpage is my report from actual use, not a separately instrumented per-language test. We have not established whether the exact mechanism is focus switching or duplicate input delivery.
Environment checked during this investigation:
up_to_dateat the time of the check.Required outcome and requested progress
I want to keep the right-side built-in browser with normal clicking, typing, keyboard, paste, and editor capability. Codex must be able to work there while I type elsewhere without either input stream entering the other's target. Switching to Chrome is a last-resort workaround; the successful comparison above does not fix the built-in browser or meet this requirement.
Please provide a concrete engineering response:
I have already spent time on multiple reproduction rounds. Please use this existing evidence and reproduce the scenario internally. I do not want further speculative troubleshooting, repeated typing trials, profile resets, reinstalls, or experimental client patches on my machine. A generic request to repeat these tests is not an adequate response to the evidence already supplied.
This report was prepared with Codex assistance from the existing results and my observations, and I explicitly authorized posting it. No private drafts, webpage contents, credentials, screenshots, raw logs, task identifiers, or local paths are included.