"Show context window usage" setting is reset after logout/login (unlike all other settings)
What version of the IDE extension are you using?
26.616.31447
What subscription do you have?
Plus
Which IDE are you using?
VS Code
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What issue are you seeing?
The "Show context window usage" option under Settings → General → Composer is not preserved after logging out of the Codex extension and logging back in.
After login, the option is disabled and the context-window usage indicator is no longer displayed. Other options are preserved across the same logout/login flow, so this appears to affect this option specifically.
The toggle itself works correctly when enabled. The problem is its persistence across the authentication lifecycle.
What steps can reproduce the bug?
- Sign in to the Codex VS Code extension with ChatGPT account.
- Open Codex settings.
- Go to General → Composer.
- Enable "Show context window usage".
- Confirm that the context-window usage indicator appears in the composer.
- Log out of Codex VS Code extension.
- Log back in with ChatGPT account.
- Open Codex settings again.
- Observe that "Show context window usage" has been reset to disabled, while other options remain preserved.
What is the expected behavior?
"Show context window usage" should remain enabled after logging out and logging back in, consistent with the persistence behavior of the other options.
Additional information
This option was introduced after the context-window usage indicator was restored in:
https://github.com/openai/codex/issues/24272
This is separate from the original missing-indicator issue: the indicator is displayed correctly when the option is enabled. Only the option’s persistence across logout/login is broken.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗