Windows: tool-created local chat could not acquire IAB on first turn; later turn succeeded after opening it

Aperta
#63,486 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
rust, wasm

Direzione di ricerca

The report spans the Codex Desktop browser client, the agent.browsers.get("iab") lookup and the integrated capture path, and no repository file or test is named. Start by finding where the browser backend is resolved for a new thread and what gates the IAB route. Done would mean a reproducible explanation of why the first turn of a tool-created chat misses IAB, but this is maintainer-level investigation rather than a newcomer task.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

app browser bug windows-os
Environment
  • Windows 11 26H2 x64, OS build 26300.9974.
  • Signed Microsoft Store package 26.1117.4957.0. The app updater reported production 26.1117.41037 (build 29803), up to date.
  • Local Codex Desktop chat, using the bundled Browser interface.
Reproduction
  1. Create a projectless local chat with the desktop app's thread-creation tool. In the first request, ask in plain language to open https://example.com/ in the built-in browser and save a tab screenshot. Leave the newly created chat in the background.
  2. The first browser call loaded the bundled Browser client, but agent.browsers.get("iab") returns Browser is not available: iab. One official browser-list check shows only an extension. No tab screenshot is returned.
  3. Open that same saved chat in the desktop app and repeat the same public-page request. In one run without a Browser mention, the first Browser call on that turn acquired IAB, navigated, and saved a 1265 × 712 JPEG that was independently decoded and visually checked. No alternate browser path was used.

A fresh chat created directly in the desktop app also succeeded without a Browser mention on the same host and URL. The open-and-retry run changed both UI visibility and turn. It does not yet isolate whether visibility, the new turn, or timing affects whether IAB is available.

Separate Windows capture observation

In an independent test, integrated browser/Computer Use failed before returning a tab with exclude display overlay from capture (0x00000000). A stand-alone Win32 test, run in the same console session on three visible top-level test windows owned by that process, found that SetWindowDisplayAffinity(WDA_MONITOR) succeeded and read back 1. On standard and layered windows, WDA_EXCLUDEFROMCAPTURE returned false with an immediately read last error of zero and affinity read back as zero. No other windows were touched. This shows that WDA_EXCLUDEFROMCAPTURE can fail on this host outside Codex. It does not establish why the IAB route is absent or prove that the integrated tool error comes from the same native call.

Expected behavior

A tool-created local chat should acquire its own authorized built-in browser and return a valid tab screenshot on the first turn while the chat stays in the background. Is there a supported way to make IAB available on the first turn of a tool-created chat, or is a client fix planned? Please also check how the integrated capture path surfaces exclude display overlay from capture (0x00000000). Possibly related reports: #61631 and #56755.

Lingua principale
Rust
Stelle
136k
Fork
21.6k
Merge medio
1m
PR unite (30g)
998

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openai/codex

Tutte le issue di openai/codex

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.