Vscode extension steals focus when vscode starts and extension gets loaded

Open 💬 1 comment Opened Nov 30, 2025 by JohnnyBill

What version of the VS Code extension are you using?

0.5.46

What subscription do you have?

ChatGPT Pro

Which IDE are you using?

VS Code

What platform is your computer?

Ubuntu 24.04

What issue are you seeing?

When i start vscode, i often open an integrated terminal and start typing in it immediately, before the codex extension on the right sidebar has finished loading. When the extension finished loading, it steals the focus from the terminal. That's quite annoying. "chatgpt.openOnStartup": false, Doesn't help either, because the secondary sidebar state get's stored by VSCode. The extension just shouldn't steal focus on the initial load.

What steps can reproduce the bug?

Put codex in the secondary sidebar, close vscode, open it again, start typing in an editor or terminal window and see what happens with the focus when the extension finishes loading

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗