codex - 💡(How to fix) Fix File tree labels are overly truncated even when there is enough horizontal space [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#20193Fetched 2026-04-30 06:32:20
View on GitHub
Comments
2
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×2

Root Cause

This makes the file tree hard to use because many common file names become ambiguous.

RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

26.422.8496.0

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

File and folder names in the Codex App file tree are overly truncated with a middle ellipsis, even though the file tree panel has enough horizontal space.

Examples from the “All files” tree:

  • components is displayed as compr.....ents
  • node_modules is displayed as node_.....dules
  • package.json is displayed as packag.....on
  • README.md is displayed as READM.....d
  • postcss.config.mjs is displayed as postcss.confi.....js
  • tsconfig.tsbuildinfo is displayed as tsconfig.....uildinfo

This makes the file tree hard to use because many common file names become ambiguous.

What steps can reproduce the bug?

  1. Open Codex App on Windows.
  2. Open a local repository.
  3. Open the file tree / “All files” panel.
  4. Observe that file and folder names are truncated with a middle ellipsis even when there is enough horizontal space in the panel.
  5. Switch the app language to English and reset the UI font to the default.
  6. Reopen the file tree and observe that the issue still happens.

What is the expected behavior?

The file tree should use the available horizontal space before truncating labels.

Short file and folder names such as components, package.json, README.md, and middleware.ts should be displayed fully when the panel has enough room.

Additional information

I initially noticed this with the Japanese UI and a custom UI font, but the issue still reproduces after switching the app language to English and resetting the UI font to the default.

Environment:

  • Codex App version: 26.422.8496.0
  • OS: Windows
  • UI language: English
  • UI font: default
  • Theme: Tokyo Night

Screenshots attached.

<img width="1920" height="1020" alt="Image" src="https://github.com/user-attachments/assets/31e30df9-ab2e-40ac-8e2d-196c169136c1" />

extent analysis

TL;DR

The issue can be mitigated by adjusting the file tree panel's width or reporting the issue to the Codex App developers for a potential fix in a future version.

Guidance

  • Verify that the issue persists across different UI themes and languages to rule out any theme or language-specific bugs.
  • Try adjusting the width of the file tree panel to see if it affects the truncation of file and folder names.
  • Check if there are any existing issues or discussions on the Codex App's GitHub page related to file tree truncation.
  • Consider reporting the issue to the Codex App developers with the provided screenshots and steps to reproduce.

Notes

The issue seems to be related to the Codex App's UI rendering, specifically with the file tree panel. Without access to the app's codebase, it's difficult to provide a definitive fix. The provided screenshots and steps to reproduce should help the developers identify and address the issue.

Recommendation

Apply workaround: Report the issue to the Codex App developers and try adjusting the file tree panel's width to mitigate the issue, as a fix may require changes to the app's UI rendering logic.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix File tree labels are overly truncated even when there is enough horizontal space [2 comments, 2 participants]