First click to display menu does nothing

Open 💬 1 comment Opened Apr 20, 2026 by ryancu7

What version of the IDE extension are you using?

26.415.20818

What subscription do you have?

Business

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What issue are you seeing?

Clicks on the icons that are supposed to display a menu within the Codex side-bar don't work until the second click when the main text editor pane has focus. This is inconsistent with the message "Send" button, which does not require a separate click to first focus the Codex sidebar before the button works.

I also notice the following appear in the VS Code Codex output window on the first click, not sure if this is related:
2026-04-20 13:44:24.887 [error] Error fetching httpStatus=403 requestId=REDACTED statusText=Forbidden url=/wham/environments/by-repo/github/REDACTED/REDACTED

What steps can reproduce the bug?

  1. Restart VS Code
  2. Open the Codex sidebar
  3. Click on some text in the main editor (outside Codex sidebar)
  4. Click on any of the menu icons ONCE, such as the Settings cog. ➜ Nothing happens. 🙁
  5. Click a second time. ➜ Menu appears.

What is the expected behavior?

Because on mouseover on the icon the mouse cursor changes, the icon highlights, and a tooltip appears, all these things suggest that the click should be effective straight away and not be interpreted first as a "focus" click with no click-through. The first click should produce the result that the second click currently does, causing the action of the icon and displaying the menu.

All buttons should have the same response pattern, not some requiring the sidebar to have focus first and others not.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗