codex - 💡(How to fix) Fix VS Code Codex extension on macOS breaks native Cmd+` window cycling when focus is in the Codex pane [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#19117Fetched 2026-04-24 06:00:36
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Timeline (top)
labeled ×2commented ×1

On macOS, the native `Cmd+`` shortcut to rotate between open windows of the current app does not work when keyboard focus is inside the Codex pane in VS Code.

This works in other VS Code panes and also appears to work in Copilot Chat, but not in the Codex extension pane.

Root Cause

On macOS, the native `Cmd+`` shortcut to rotate between open windows of the current app does not work when keyboard focus is inside the Codex pane in VS Code.

This works in other VS Code panes and also appears to work in Copilot Chat, but not in the Codex extension pane.

RAW_BUFFERClick to expand / collapse

What version of the IDE extension are you using?

26.417.40842

What subscription do you have?

Plus and Business

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

Summary

On macOS, the native `Cmd+`` shortcut to rotate between open windows of the current app does not work when keyboard focus is inside the Codex pane in VS Code.

This works in other VS Code panes and also appears to work in Copilot Chat, but not in the Codex extension pane.

Actual behavior

Nothing happens unless I add a manual VS Code keybinding for the detected keycode.

If I bind cmd+[IntlBackslash] to workbench.action.quickSwitchWindow, VS Code invokes that command, but it only opens VS Code’s quick window picker. That is not equivalent to native macOS `Cmd+`` window cycling

What steps can reproduce the bug?

  1. Open at least two VS Code windows on macOS.
  2. Open the Codex pane in one window.
  3. Focus anywhere inside the Codex pane.
  4. Press `Cmd+``.

With Developer: Toggle Keyboard Shortcuts Troubleshooting enabled, VS Code logs:

  • Resolving meta+[IntlBackslash]
  • No keybinding entries.

What is the expected behavior?

When focus is inside the Codex pane, pressing Cmd+` should rotate to the next open VS Code window, matching normal macOS app behavior.

Additional information

No response

extent analysis

TL;DR

The issue can be worked around by adding a custom keybinding in VS Code to handle the `Cmd+`` shortcut when focus is inside the Codex pane.

Guidance

  • The problem seems to be related to the Codex pane not handling the native `Cmd+`` shortcut correctly, which is usually used for window cycling in macOS.
  • To verify the issue, follow the provided reproduction steps and check the keyboard shortcuts troubleshooting logs in VS Code.
  • A potential workaround is to add a manual keybinding for cmd+[IntlBackslash] to workbench.action.quickSwitchWindow, but note that this will only open the quick window picker, not exactly replicating the native macOS behavior.
  • Investigate if there are any existing keybindings or settings in the Codex extension that could be interfering with the native shortcut.

Example

No specific code example is provided as the issue seems to be related to configuration and keybindings rather than code.

Notes

The provided workaround may not perfectly replicate the native macOS window cycling behavior, and the ideal solution would be for the Codex pane to handle the `Cmd+`` shortcut natively.

Recommendation

Apply workaround: Add a custom keybinding for cmd+[IntlBackslash] to a command that closely matches the desired window cycling behavior, acknowledging that it may not be a perfect solution.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING