Skip to content

Project Search does not show all results when some files are open #43672

@injust

Description

@injust

Reproduction steps

  1. Create and save 2 plain text files (one with foobar and another with foobarbaz)
  2. Open only 1 of the files
  3. Use Project Search to search for foo

Current vs. Expected behavior

When I use Project Search to search for foo while one of the files is open, the first few searches only return results in that file.

Seems like a reoccurrence of #40792, potentially caused by #40835?

Zed version and system specs

Zed: v0.214.5 (Zed)
OS: macOS 15.7.2
Memory: 16 GiB
Architecture: x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:searchbuffer search, project search, etcpriority:P2Average run-of-the-mill bugs

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions