openai / openai/codex

[Windows App] Annotation editor ignores configured UI font

Open
#46,165 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug config windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

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

26.911.7940.0

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What issue are you seeing?

The annotation comment editor does not respect the custom UI font configured in config.toml.

My UI and code fonts are configured as follows:

[desktop.appearanceDarkChromeTheme.fonts]
ui = "Iosevka,LXGW WenKai Mono"
code = "Iosevka,LXGW WenKai Mono"

Chinese text in the main Codex interface correctly uses LXGW WenKai Mono as the fallback font. However, Chinese text inside the annotation editor uses a different system sans-serif font.

What steps can reproduce the bug?
  1. Configure the UI font in config.toml as shown above.
  2. Restart the Codex app.
  3. Select some text in a Codex response and create an annotation.
  4. Enter Chinese text in the annotation editor.
  5. Compare its font with Chinese text in the main interface.
What is the expected behavior?

The annotation editor should inherit the font configured in desktop.appearanceDarkChromeTheme.fonts.ui and use LXGW WenKai Mono for Chinese glyphs.

Additional information

The rest of the Codex interface renders the configured font correctly. The problem appears to be limited to the annotation editor.

A screenshot demonstrating the font difference is attached.

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the Windows app using the config.toml font settings and compare the annotation editor with the main interface. Trace how the annotation editor selects its font versus desktop.appearanceDarkChromeTheme.fonts.ui; done means Chinese text uses the configured fallback font consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.