codex icon indicating copy to clipboard operation
codex copied to clipboard

[Desktop/Windows] Missing Chrome file-URL permission leaves browser-only tasks without an actionable setup handoff

Open sanek25m-lgtm opened this issue 1 month ago • 2 comments

Summary

In a Windows desktop Codex session, ordinary Chrome browser control works, but a user-authorized local CSV upload is blocked by a request to enable the ChatGPT extension's Allow access to file URLs setting. The agent cannot open the existing chrome://extensions/ tab to assist, and this session exposes no native application controls. Please improve the setup/handoff UX and permission diagnostics for this state.

This is an onboarding/usability report, not a request to bypass Chrome security. The effective Chrome permission state has not been independently inspected; a missing permission may be the correct cause.

Environment

  • Windows / PowerShell workspace
  • Codex desktop session using the ChatGPT Chrome browser extension
  • Native computer APIs unavailable in the session; application inventory is empty
  • App, Chrome and extension versions: not collected
  • Observed on 2026-10-16

Reproduction

  1. Open an authenticated webpage with a normal CSV upload input in Chrome.
  2. Arm tab.playwright.waitForEvent('filechooser'), click the upload input and obtain the file chooser.
  3. Call chooser.setFiles(...) with the prepared local CSV.
  4. Observe a failure instructing the user to enable Allow access to file URLs in the Chrome extension settings.
  5. Attempt to claim the existing chrome://extensions/ tab using the supported browser API.
  6. Observe Chrome internal tab ... cannot be claimed.

The user explicitly authorized enabling the required permission, but authorization does not make an unavailable browser capability usable.

Actual result

The workflow stops at a manual Chrome setting, despite a functioning connection for ordinary sites. No CSV was uploaded and no resulting publication was claimed. We did not edit Chrome profile files, invoke raw CDP, or attempt to bypass the permission check.

Requested improvement

  • Detect this permission requirement before a long upload preparation task.
  • Provide a clear, narrowly scoped setup action or reliable user handoff directly to the correct extension's Details page.
  • Explain when a setting must be changed manually and when native computer controls are unavailable.
  • Provide an agent-accessible supported feedback flow so the user does not need to relay diagnostics manually.

Related but distinct reports

#38959 concerns a Not allowed failure with permissions reportedly enabled. #46585 concerns a missing filechooser event. Here the chooser was obtained and setFiles explicitly requested file-URL permission; the report concerns the blocked setup/handoff experience.

A technical description was also submitted to the official OpenAI support chat. Its AI assistant could not confirm a ticket number or developer escalation and suggested this issue tracker.

No account identifiers, contact details, local file paths, credentials, file contents or unrelated browsing data are included.

sanek25m-lgtm avatar Oct 16 '26 09:10 sanek25m-lgtm

The management-page handoff problem also affects extension development on macOS. In my November 24, 2026 session, Codex could operate normal HTTPS pages but could not access chrome://extensions; I repeatedly had to reload my own unpacked extension manually before testing could continue. My case concerns extension reloads rather than file-upload permission setup, but the same interruption is frustrating. Please provide a clear, scoped maintenance action or a direct, reliable handoff to the exact required control, with automatic verification and continuation afterward.

zesttec avatar Nov 24 '26 09:11 zesttec

I saw the same setup and handoff problem on Windows with Microsoft Edge on November 25, 2026. In Codex Desktop, the extension could navigate an authenticated form and capture its file chooser, but fileChooser.setFiles() failed twice for user-authorized local PDFs. The error directed me to edge://extensions to turn on Allow access to file URLs. The form received no file in either automated attempt. I was able to attach a PDF manually in the same form. The extension permission setting was not independently verified or changed during the task.

For Edge, please consider checking this prerequisite before attempting the upload and providing a direct handoff to the correct extension settings or a supported native file picker. Ideally, Codex would preserve the open form, distinguish missing browser permission from a failed file transfer, and let the user resume at the upload step after granting permission or selecting the file manually. This would avoid repeating the same failure for the next attachment.

Jason-Wang313 avatar Nov 25 '26 21:11 Jason-Wang313