Codex Desktop file preview replaces the current tab instead of opening a new file tab

Open
#34,610 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
desktop

Research direction

No files, tests, or entry points are named. Start by reproducing the issue in Codex Desktop on Windows with the five Markdown files, then trace the side-panel file-preview tab behavior. Done means opening a second linked file creates a separate preview tab while keeping the first file available.

Written by the indexing model from the issue text.

Description

app bug windows-os
What version of the Codex App are you using (From “About Codex” dialog)?

26.715.70719

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

When a Markdown file link is clicked in a Codex Desktop task, the file opens in the side-panel preview. Clicking a link to a different Markdown file replaces the current preview rather than opening the second file in a separate preview tab.

What steps can reproduce the bug?
  1. Create five harmless Markdown files named tab-1.md, tab-2.md, tab-3.md, tab-4.md, and tab-5.md.
  2. Put only neutral placeholder text in each file.
  3. Return clickable links to all five files in the Codex Desktop task.
  4. Click tab-1.md. It opens in the side-panel file preview.
  5. Click any other file link, such as tab-2.md.
  6. Observe that the newly selected file replaces the existing preview.
What is the expected behavior?

Each different file should open in a new file-preview tab. The previously opened file should remain available in its own tab.

Additional information

Existing Codex feedback ID: 019f865f-cc58-74a2-8cf4-16c9ed90735d.

The reproduction uses only five neutral placeholder Markdown files.

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.