Codex chat font size visually resets after unrelated settings.json changes
What version of the IDE extension are you using?
26.325.31654
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?
When I save any unrelated change in settings.json, Codex chat visually resets to the old smaller font size, even though "chat.fontSize" and "chat.editor.fontSize" remain unchanged in the saved file.
This looks extension-specific on my setup: Copilot Chat still respects the same settings correctly, while Codex chat does not.
What steps can reproduce the bug?
- In VS Code
settings.json, set"chat.fontSize": 20and"chat.editor.fontSize": 20. - Open Codex chat and confirm the font size is larger.
- Change an unrelated setting such as
"workbench.colorTheme"insettings.jsonand save. You can also change the theme from the Command Palette to reproduce the same effect. - Codex chat visually falls back to the smaller font size, even though those two settings are still set to
20.
What is the expected behavior?
Codex chat should continue using the saved chat font size after unrelated settings.json edits.
Additional information
I opened this here first instead of VS Code because I tested another chat extension in the same VS Code setup and it behaves as expected. Below are screencasts showing both behaviors for comparison.
If this should be reported in microsoft/vscode instead, please let me know and I can repost it there.
Codex:
https://github.com/user-attachments/assets/25e884ae-b3fc-420a-ac6c-bf76e1f58a25
Copilot:
https://github.com/user-attachments/assets/ad695d69-4f74-45b1-91bf-0120eff004d8
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I'm not sure if I should add a reply to this to ensure this issue is at least being triaged, but I will just in case:
It is not a duplicate of those issues. The font-reset problem wasn't reported before.
Any chance we see any reaction here, please?
Workaround
Since OpenAI doesn't pay any attention to this severe accessibility issue, users have to figure out workarounds themselves. Here's one to mitigate this at least partially:
First, install the extension that allows adding keybindings for arbitrary VSCode settings:
https://marketplace.visualstudio.com/items?itemName=robertohuertasm.vscode-settings-keybindings
Then add this to your keybindings.json (replace
16to the font size you need, andctrl+shift+alt+f12with any hotkey you like):Then, whenever the chat size unexpectedly resets due to the bug described in this issue, just press the shortcut you added, and the chat size is back to the desired one again without reloading the chat webview.
+1 same here
@Fona1347 you can hit 👍 on the issue text - that sometimes matters if maintainers sort issues by it