[Linux][Desktop] Closing right-side file viewer tabs leaves icon-only residual tabs
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
Summary
On Codex Desktop on Linux/X11, the user reports that closing a file in the right-side viewer leaves a residual tab in the tab strip.
A screenshot taken on 2026-09-08 confirms the resulting visual state: one normal file tab with a truncated title and an × close control is followed by two icon-only residual tab shapes. Neither residual tab has a visible title or close control. The close action itself was user-reported; it was not independently replayed during capture. Click/hover behavior and reproduction frequency have not yet been verified.
Reproduction reported by the user
- Open files in the right-side viewer.
- Close a file using its tab close control.
- A residual artifact remains in the tab strip instead of the closed tab disappearing cleanly.
Expected: the closed file tab is removed and the remaining tabs reflow normally.
Actual: residual icon-only tabs remain alongside a normal file tab.
Environment
- Codex Desktop on Linux, X11 session.
- Observed 2026-09-08.
- Exact desktop build has not been collected; no version is inferred from the bundled CLI/runtime.
Evidence
A tightly cropped screenshot of the tab strip has been captured locally. It excludes the conversation, sidebar, account information and file contents. The connector used to submit this issue cannot upload image attachments, so the screenshot is not attached to this initial report and will need to be added through GitHub's upload UI.
Related reports
- #41653: Windows right-pane ghost tabs without close controls.
- #42038: macOS browser tabs recreated as inert tabs after closing.
This report adds a Linux observation involving file-viewer tabs. The symptoms look related, but no shared root cause is claimed. No private project source, logs or session transcript is included.
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.
Research direction
No source file, test, or entry point is named in the report. Start by reproducing the sequence in Codex Desktop on Linux/X11 and confirm whether closing a right-side file-viewer tab leaves residual icon-only shapes. Compare the behavior with related reports #41653 and #42038; done means the closed tab disappears and the remaining tabs reflow normally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100