Commit button remains disabled until window focus changes (macOS)

Resolved 💬 2 comments Opened Mar 25, 2026 by michael-denzler Closed May 10, 2026

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

26.323.20928 (1173)

What subscription do you have?

Plus

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

On macOS, the Commit button in the Codex UI frequently remains disabled even though there are uncommitted changes in the repository. The UI does not reflect the actual repository state until a window focus change occurs.

What steps can reproduce the bug?

  1. Open Codex UI on macOS
  2. Make changes in a repository (e.g. modify or create a file)
  3. Observe the Commit button in the top bar → it remains disabled
  4. Switch to another application (e.g. Finder)
  5. Switch back to Codex
  6. The Commit button is now correctly enabled

Uploaded thread: 019d23db-b0a4-7f10-ae88-17768a975625

What is the expected behavior?

The Commit button should automatically become enabled immediately after changes are detected in the repository, without requiring any window focus change.

Additional information

• Issue appears to be related to missing or delayed UI state refresh
• Likely tied to focus/visibility event handling on macOS
• No impact on repository state itself, only UI inconsistency
• Workaround: switching window focus reliably refreshes the state

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗