File tree labels are overly truncated even when there is enough horizontal space

Resolved 💬 5 comments Opened Apr 29, 2026 by Hyd3-14 Closed Aug 3, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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" />

View original on GitHub ↗

5 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #18678

Powered by Codex Action

Hyd3-14 · 4 months ago

This looks related, but I think my issue may be a different bug rather than only a request for a resizable sidebar.

In my case, the file tree panel has enough horizontal space, but even relatively short names are aggressively truncated with a middle ellipsis.

Examples:

  • components is displayed as compr.....ents
  • package.json is displayed as packag.....on
  • README.md is displayed as READM.....d
  • postcss.config.mjs is displayed as postcss.confi.....js

So making the sidebar resizable would help as a workaround, but the main issue seems to be that the label width / truncation calculation is too small.

Environment:

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

I also submitted in-app feedback for this: 86383ad0-5b32-4619-a4ea-c219bd4f7185

0xruhum · 3 months ago

same on the mac app

claylong · 2 months ago

Same. The truncation is incredibly over aggressive. In fact, not only does it truncate when there's no need, but the truncated version is _longer than the original._ In the screenshot, the last entry is just 00-index.md but the truncated version is 00-inde......d

<img width="372" height="285" alt="Image" src="https://github.com/user-attachments/assets/789107f8-1506-49d3-9727-eeb05d52b28b" />

0xruhum · 2 months ago

it has been fixed.

version 26.616.30709 on macos

hallelujah