openai / openai/codex

Codex app: project folder changes across independent windows

Open
#42,761 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug session windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

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

Version 26.901.31953

What subscription do you have?

100$

What platform is your computer?

Windows 11 pro

What issue are you seeing?

When using multiple Codex app windows with different project folders, the active project folder can unexpectedly change across windows.

For example, I have:

Window 1 → Project 1
Window 2 → Project 2

After sending a prompt in Window 1, Window 2 sometimes switches from Project 2 to Project 1.

This has happened multiple times and has already caused me to accidentally send prompts to the wrong project.

There is no visible error message.

What steps can reproduce the bug?

Open the Codex app.
Open Project 1 in one Codex window.
Open a second Codex window.
Open Project 2 in the second window.
Send a prompt in the Project 1 window.
Check the second window.

Sometimes the second window changes its active project folder from Project 2 to Project 1.

I do not have a reliable 100% reproduction rate yet, but it has happened multiple times during normal multi-window usage.

What is the expected behavior?

Each Codex window should keep its own project/folder state independently.

Actions or prompts sent in one window should never change the active project folder in another window.

If Window 1 is opened on Project 1 and Window 2 is opened on Project 2, both windows should remain bound to their own projects until I explicitly change them.

Additional information

This is especially risky because it can cause prompts or agent actions to be sent to the wrong repository/project.

I use multiple Codex windows specifically to work on different projects in parallel, so project isolation between windows is important.

If useful, I can also provide a screen recording when I reproduce it again.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the multi-window steps in the Codex app on Windows 11, then trace how each window stores and updates its active project folder. Done means prompts in one window never change the project folder shown by another, with coverage for the reported two-project scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.