Codex Desktop on Windows: media preview closes when interacting with the scrollbar
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start at the Codex Desktop media preview and trace how scrollbar pointer events reach the preview backdrop's dismiss handler on Windows. Reproduce with a zoomed media attachment showing scrollbars, then verify that dragging either scrollbar scrolls the preview without closing it while explicit close, Escape, and genuine outside clicks still dismiss it.
Written by the indexing model from the issue text.
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.721.3996.0
What subscription do you have?
Pro
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64 (Windows 11 Home)
What issue are you seeing?
When a media preview is open in Codex Desktop on Windows, pressing the left mouse button on a visible scrollbar thumb immediately closes the preview. The scrollbar handle therefore cannot be grabbed or dragged.
The scrollbar interaction appears to be handled as a click outside the preview (or another dismiss action) instead of as interaction with the preview's scrollable area.
What steps can reproduce the bug?
- Open Codex Desktop on Windows.
- Open a media attachment in the preview window, using media large enough that the preview shows a scrollbar. (zoom in so both vert/hori appear)
- Move the cursor over the scrollbar thumb.
- Press the left mouse button to begin dragging the thumb.
- Observe that the media preview closes immediately after release, before the scrollbar can be dragged correctly.
What is the expected behavior?
Clicking or dragging the scrollbar thumb should scroll the media preview and must not dismiss it. The preview should close only through its explicit close control, Escape, or a genuine click outside the preview.
Additional information
This is observed in the Windows Codex Desktop app. It may be caused by the scrollbar pointer/click event propagating to the preview backdrop's dismiss handler.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·