codex - 💡(How to fix) Fix File tree Flickers after project directory rename [1 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#19838Fetched 2026-04-28 06:36:09
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×2cross-referenced ×1
RAW_BUFFERClick to expand / collapse

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

Version 26.422.30944 (2080)

What subscription do you have?

Plus

What platform is your computer?

Darwin 25.3.0 arm64 arm

What issue are you seeing?

i started a project, then i renamed the project folder manually.

Codex said it cant find the Project folder, so i told gpt where the new path is by giving it a full path. it found it and i asked to add files - and it added files fine to the new path.

The issues is Codex App still shows "Current working directory missing" message above the input box and the file tree is flickering like shown. I restarted Codex thinking it will propagate the new path to all parts of the app but it didnt.

https://github.com/user-attachments/assets/145da4af-5c40-48da-9483-2d156ed675d6

What steps can reproduce the bug?

Create new Project > Add working directory > rename directory > Codex says it cant find working directory > open File Directory , Notice the message above the chat input.

What is the expected behavior?

On the left side bar - in the context menu of the project - add option to Set/Change Project directory.

<img width="408" height="394" alt="Image" src="https://github.com/user-attachments/assets/083f5e9e-456a-4dfd-9651-d2c8b2c7b03d" />

Additional information

No response

extent analysis

TL;DR

The issue can likely be resolved by adding an option to set or change the project directory in the context menu of the project on the left sidebar.

Guidance

  • The problem seems to occur when the project folder is renamed manually, causing Codex to lose track of the working directory.
  • To verify the issue, try creating a new project, adding a working directory, renaming the directory, and then checking if Codex still shows the "Current working directory missing" message.
  • A potential workaround is to provide a way to update the project directory path in the Codex App, such as through the suggested "Set/Change Project directory" option in the project context menu.
  • The flickering file tree and "Current working directory missing" message may be related to Codex's inability to propagate the new path to all parts of the app.

Example

No code snippet is provided as it is not explicitly mentioned in the issue.

Notes

The issue may be specific to the Codex App version 26.422.30944 and the Darwin 25.3.0 arm64 arm platform.

Recommendation

Apply workaround: Add an option to set or change the project directory in the context menu of the project on the left sidebar, as this seems to be the most direct way to resolve the issue and provide a better user experience.

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