[BUG] Codex app restarts on macOS after repeated drag actions

Open 💬 0 comments Opened Jun 25, 2026 by frde4c

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

26.616.81150 (build 4306)

What subscription do you have?

Unknown / not provided

What platform is your computer?

Darwin 25.5.0 arm64 arm

macOS 26.5.1 (Build 25F80)
MacBook Pro, Mac17,2, Apple M5
Input device: trackpad
External monitor: yes, 1 external monitor connected

What issue are you seeing?

Codex app unexpectedly restarts on macOS after repeated drag actions inside the app UI.

This does not appear to depend on the amount of content shown on screen. The issue seems related to the number of drag actions. After repeatedly dragging many times, the app eventually restarts.

Observed pattern:
The crash/restart appears to correlate with the number of repeated drag attempts, not with the amount of content on screen.

Possible cause:
This may be related to repeated drag start/end handling on macOS. Event listeners, drag state, selection state, or layout callbacks may be accumulating across repeated drag interactions, eventually causing the renderer or app process to crash/restart.

I searched existing issues before filing this and did not find an exact duplicate for repeated trackpad drag actions causing the Codex app to restart on macOS.

What steps can reproduce the bug?

  1. Open the Codex app on macOS.
  2. Open any project or Codex session.
  3. Repeatedly perform drag actions inside the app UI using the trackpad.
  4. Continue dragging many times.
  5. Eventually, the Codex app restarts unexpectedly.

Drag area:

  • Chat/message area: yes
  • Text selection: yes
  • Code block: no
  • Sidebar/file list: no
  • Panel divider/resizable area: no
  • Other: repeated dragging inside the main app UI

Reproducibility:
Intermittent / not 100% reproducible.

Codex feedback session ID: not provided

What is the expected behavior?

The app should continue running normally regardless of repeated drag actions.

Additional information

Logs attached: no
Screen recording attached: no

View original on GitHub ↗