Desktop app becomes unusable when font size is set to 300

Open 💬 0 comments Opened Jun 8, 2026 by x36083869-xz

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

Latest Windows Desktop Version

What subscription do you have?

codex

What platform is your computer?

Windows 11 x64

What issue are you seeing?

Title: Desktop app becomes unusable when font size is set to an extreme value

Steps to reproduce:

  1. Open Codex Desktop.
  2. Go to Settings.
  3. Change the font size from the default value (14) to 300.
  4. Save the setting.

Result:

  • The entire UI becomes unusable.
  • Settings cannot be accessed properly anymore.
  • Most controls become unreachable due to oversized text.
  • Reinstalling the application does not reset the setting.
  • The invalid value persists in the user configuration file.

Expected behavior:

  • Font size should be clamped to a reasonable range (for example 10-48).
  • The application should provide a "Reset Appearance Settings" option.
  • Reinstalling should offer a way to restore default UI settings.
  • Extreme values should not be allowed to break the entire interface.

Additional information:

The value is stored in:

~/.codex/config.toml

Specifically:

sansFontSize = 300

Manually changing it back to 14 restores normal behavior.

What steps can reproduce the bug?

  1. Open Codex Desktop.
  2. Go to Settings.
  3. Change the font size from the default value (14) to 300.
  4. Save the setting.

What is the expected behavior?

  • Font size should be clamped to a reasonable range (for example 10-48).
  • The application should provide a "Reset Appearance Settings" option.
  • Reinstalling should offer a way to restore default UI settings.
  • Extreme values should not be allowed to break the entire interface.

Additional information

_No response_

View original on GitHub ↗