Skip to content

Unexpected drag state triggered on click of another entry in project panel when creating a new file #15351

@ssut

Description

@ssut

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

  1. Trigger 'New File' from the project panel, making the filename editor visible.
  2. Single click on another entry(file) in the project panel while the filename editor is still visible. This action will make the filename editor disappear.
  3. Move the mouse cursor to enter the drag state for the clicked entry.

Expected behavior: the clicked item should not enter the drag state.

Environment

Zed: v0.145.1 (Zed)
OS: macOS 14.5.0
Memory: 64 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

zed.mp4

If applicable, attach your Zed.log file to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:project panelFeedback for files tree viewstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions