Codex app file browser truncates filenames in the middle despite available space
What happened?
In the Codex desktop app file browser / workspace tree, filenames and directory names are being truncated with a middle ellipsis even when there appears to be enough horizontal space in the row.
Examples from the workspace tree:
package.jsonappears as something likepac......jestsconfig...jsonappears as something liketsconfi......on- directory names such as
node_modulesand other nested folders are also truncated in the middle
Dragging the right-side file browser wider does not fix the problem. The row has visible unused space to the right, but the filename text still appears to have a much smaller internal label width and gets truncated anyway.
Why this matters
The file browser is an important part of the Codex app workflow. I need to keep the current workspace tree visible and quickly open files from it. With the current truncation, many names are ambiguous and I have to switch back to VS Code just to reliably identify and open files.
Expected behavior
The file browser should use the available horizontal space in the row before truncating labels.
If a filename still does not fit, it would be helpful to either:
- truncate at the end only when needed, or
- provide a setting to disable middle truncation / show full names when space is available, or
- consistently show the full filename in a tooltip on hover.
Actual behavior
The tree uses middle ellipsis for filenames/directories even when the panel and row visually have enough available width. Increasing the panel width does not resolve it.
Environment
- Codex app: 26.609.71450 (build 3965)
- Bundled Codex CLI: 0.140.0-alpha.2
- OS: macOS 26.3 (25D2125)
Notes
This looks like the file tree row label is constrained by an internal fixed or overly narrow width rather than the actual remaining row width.