Codex Desktop Markdown tab becomes unclosable after editing from source view
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- markdown
- Domain
- desktop
Research direction
Reproduce the issue in Codex Desktop using the listed source-view transition, then trace the Markdown panel state after Codex edits the file. Check the rendered/source toggle and diff-view handling; done means the updated panel can be restored or shown as a diff and the Markdown tab remains closable.
Written by the indexing model from the issue text.
Description
Bug report
Reproduction
- Open a Markdown file in Codex Desktop and show its rendered Markdown preview in the right panel.
- Switch the preview to show Markdown source.
- Have Codex edit the Markdown file.
- Observe the Markdown panel.
Actual behavior
The panel becomes stuck showing the diff. Toggling the preview does not restore the normal view, and the tab cannot be closed.
Comparison
If the Markdown preview is still in rendered-preview mode when the edit happens, the panel may show the diff, but cycling hide/show restores it. The unclosable state specifically occurs after switching to source view before the edit.
Expected behavior
After the edit, the Markdown tab should either show the updated source/preview or a closable diff view. The tab should remain closable in all cases.
Environment
- Codex Desktop version: 26.715.61943
- macOS: 15.7.8 (24G817)
This appears distinct from a Markdown diff rendering issue because the failure is a stuck, unclosable tab after the source-view transition.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·