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

Open 💬 5 comments Opened Apr 29, 2026 by Hyd3-14

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 ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗