openai / openai/codex

Codex Desktop: sidebar auto-scroll shifts the drop target away from the cursor

Open
#39,254 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

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

26.810.52044 (6662)

What subscription do you have?

Unknown

What platform is your computer?

macOS 26.5.2 (Darwin 25.5.0), Apple silicon (arm64)

What issue are you seeing?

Dragging a project or thread from low in the left sidebar toward a project folder near the top causes the sidebar to auto-scroll. During that scroll, the visual drop position moves vertically away from the mouse cursor.

The folder that appears to be under the cursor is not the active drop target. The active target can appear much lower in the sidebar, so dropping into the intended folder requires aiming above or below it by an unpredictable offset.

What steps can reproduce the bug?
  1. Add enough projects or threads to make the left sidebar scroll.
  2. Put a destination project folder near the top of the sidebar.
  3. Scroll down and start dragging a project or thread from near the bottom.
  4. Keep the mouse button pressed and drag the item toward the destination folder so the sidebar auto-scrolls upward.
  5. Watch the insertion indicator or highlighted drop target while keeping the cursor over the intended folder.
What is the expected behavior?

The drop target and insertion indicator should remain aligned with the mouse cursor while the sidebar auto-scrolls. Releasing the mouse over a project folder should drop the item into that folder.

What happened instead?

The drop target shifts vertically relative to the cursor during auto-scroll. The intended folder appears separated from the active drop position, which makes the drop inaccurate and can move the item to the wrong location.

Additional information

No screenshot or recording is attached.

Related issues cover different behavior:

  • #37312 concerns placing a projectless thread above a project.
  • #30533 concerns which chats can be dragged into project folders and chats escaping their project.
  • #28530 proposes a “Move to project…” action. That action would offer a useful fallback, but it does not address the drag-and-drop cursor offset.

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.

Research direction

No source file, test, or entry point is named. First reproduce the drag from a low sidebar item toward a folder while auto-scroll occurs, then trace the desktop sidebar drag-and-drop and scrolling behavior; done means the insertion indicator and active folder remain under the cursor and the item drops into the intended folder.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.