chatgpt.newChat always opens the primary sidebar even when Codex has been moved to the secondary sidebar in Cursor
What version of the IDE extension are you using?
3.1.15
What subscription do you have?
Cursor Pro
Which IDE are you using?
Cursor
What platform is your computer?
Windows11
What issue are you seeing?
Summary
In Cursor, after moving the Codex view from the Primary Side Bar to the Secondary Side Bar (right side, same area as Cursor Chat), triggering chatgpt.newChat still opens the left primary sidebar.
This makes the command behave as if Codex were still located in the primary sidebar.
Expected behavior
chatgpt.newChat should create a new Codex thread in the existing Codex sidebar location.
If Codex is currently in the Secondary Side Bar, it should stay there and should not open the left primary sidebar.
Actual behavior
chatgpt.newChat opens the left primary sidebar, even though Codex has already been moved to the right secondary sidebar.
Environment
- Cursor
- OpenAI Codex extension
- Windows
- Codex view manually moved to Secondary Side Bar
What steps can reproduce the bug?
- Open Cursor.
- Move the Codex view from the Primary Side Bar to the Secondary Side Bar.
- Make sure Codex is already visible in the right sidebar.
- Trigger the
chatgpt.newChatcommand, for example via a custom keybinding like:
Ctrl+Alt+N
What is the expected behavior?
chatgpt.newChat should create a new Codex thread in the existing Codex sidebar location.
If Codex is currently in the Secondary Side Bar, it should stay there and should not open the left primary sidebar.
Additional information
This appears to be tied to the implementation of chatgpt.newChat, which seems to explicitly open/focus the Codex sidebar container before sending the new-chat action, instead of respecting the current visible location of the Codex view.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗