Skip to content

Desktop app becomes unusable when font size is set to 300 #27050

Description

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingconfigIssues involving config.toml, config keys, config merging, or config updateswindows-osIssues related to Codex on Windows systems

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions