Skip to content

[Windows Desktop][Visualize] Native C:\ visualization path renders as missing-image placeholder #40334

Open

Description

@jorgecg89

What version of the Codex App are you using?

Codex Desktop for Windows.

  • Microsoft Store package: OpenAI.Codex_26.818.5229.0_x64
  • Executable file/product version: 151.0.7922.170
  • Bundled Visualize plugin: 1.0.22

What subscription do you have?

Not relevant to this local renderer reproduction; not disclosed.

What platform is your computer?

Windows x64, version 25H2, build 26200.9168.

The task runs natively in Windows PowerShell. WSL is not involved.

What issue are you seeing?

An inline visualization referenced with an absolute native Windows path inside the thread-scoped visualization root does not render in Codex Desktop. The response surface shows a generic missing-image/asset placeholder instead of the visualization or an actionable error.

The fragment was written to the declared writable location:

C:\Users\<user>\.codex\visualizations\YYYY\MM\DD\<thread-id>\redisenio-dosificador.html

The response referenced that same absolute native path through the Visualize content reference.

Observed evidence:

  • The fragment exists at the referenced path and is readable.
  • Fragment size: 14,816 bytes.
  • JavaScript syntax validation passed.
  • The bundled renderer script produced a standalone HTML file of 52,927 bytes from the same fragment.
  • A native headless browser can display the local source after wrapping.
  • The inline surface still displays only the placeholder.
  • The behavior occurred repeatedly in the same task with more than one attempted visualization delivery.

What steps can reproduce the bug?

  1. Open Codex Desktop on Windows with a native PowerShell execution environment.
  2. Create an HTML visualization fragment under the provided thread-scoped writable root:
    C:\Users\<user>\.codex\visualizations\YYYY\MM\DD\<thread-id>\example.html.
  3. Confirm that the file exists and is readable.
  4. Emit the Visualize content reference using that exact absolute C:\... path.
  5. Observe that the conversation displays a generic image/asset placeholder rather than the visualization.
  6. Reopen the task or repeat with another visualization in the same valid root; the content remains unavailable.

What is the expected behavior?

Codex Desktop should read and display visualization fragments referenced by an absolute native Windows path that is inside the task's declared thread-scoped visualization root.

If loading or parsing fails, the placeholder should remain visible and show an actionable error containing the sanitized requested path, resolved path, and failure stage.

What is the actual behavior?

The visualization is not shown. A generic missing-image/asset placeholder is displayed without a useful diagnostic, although the referenced source exists locally.

Additional information

This is adjacent to, but distinct from:

The user name, thread identifier, project path, and visualization contents are intentionally omitted.

Activity

  1. added
    bug
    app
    windows-os
    on Aug 24, 2026
  2. johnsilvavlogs commented on Aug 31, 2026

    @johnsilvavlogs

    Additional Windows-specific control that may help separate content-reference parsing from filesystem rendering:

    The documented Visualize content reference contains a JSON object. A raw native path such as:

    visualize{"path":"C:\Users\<user>\.codex\visualizations\...\example.html"}
    

    is malformed JSON because \U is not a valid JSON escape. In a separate native-Windows reproduction, PowerShell ConvertFrom-Json rejected the raw-backslash payload with Bad JSON escape sequence: \U, while both of these parsed successfully:

    {"path":"C:/Users/<user>/.codex/visualizations/.../example.html"}
    {"path":"C:\\Users\\<user>\\.codex\\visualizations\\...\\example.html"}

    The referenced fragment existed and was readable (10,452 bytes), so the first observed failure was definitively at JSON serialization, before a filesystem read could be assessed. Bundled Visualize 1.0.23 currently shows <absolute-path> in its examples but does not warn Windows agents to normalize or escape backslashes.

    Suggested hardening:

    1. Update the bundled skill/docs to require forward slashes or JSON-escaped backslashes on Windows.
    2. Validate the directive payload and show an actionable parse error instead of a generic missing-asset state.
    3. In this issue's reproduction, compare a raw-backslash payload with a valid forward-slash payload. Only failure of the valid control demonstrates a separate native path-reader defect.

    This may explain some native-Windows reports; it is not a claim that every failure in this issue has the same cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions