[Windows desktop] Clicking the slash-command menu scrollbar closes the menu

Open
#35,398 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

No source file or test is named in the report. First reproduce the Windows desktop slash-command menu behavior with an overflowing list, then trace the popup dismissal handling around scrollbar clicks and drags. Done means the command list scrolls with the scrollbar while the menu remains open, without regressing outside-click dismissal.

Written by the indexing model from the issue text.

Description

app bug windows-os
Description

In the Codex desktop app on Windows, clicking or dragging the scrollbar in the slash-command menu immediately dismisses the entire menu. The list can only be scrolled reliably with the mouse wheel or keyboard.

Steps to reproduce
  1. Open a task in the Codex desktop app.
  2. Focus the composer and type / to open the command menu.
  3. Make sure the menu contains enough items to show the vertical scrollbar.
  4. Click the scrollbar thumb or try to drag it.
Expected behavior

The command list scrolls while the menu remains open.

Actual behavior

The menu closes immediately when the scrollbar is clicked or dragged. Mouse-wheel scrolling works normally.

Environment
  • Codex desktop app: 26.721.4979.0
  • OS: Windows x64
  • Install channel: Microsoft Store
  • UI language: Simplified Chinese
Workaround

Use the mouse wheel, touchpad scrolling, or keyboard arrow/Page Up/Page Down keys.

Additional context

The issue becomes easier to notice when enough skills or commands are installed to make the command list overflow. It does not appear to be caused by any specific skill. The scrollbar may be getting treated as an outside-click target by the popup dismissal handler.

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

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.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.