Skip to content

Search results can differ between disk match and editor match #8710

Closed

Description

Sandeep Somavarapu (@sandy081) not really something that you caused, but I thought I would file this because you seem to want to look into reducing debt in search land for disk match vs. editor buffer match.

Consider you have 1 match in a file and you edit the file to remove the match. The search results nicely update live and show that you no longer have results. However, once you close the file in the editor, its associated model gets disposed and search suddenly goes back to showing the disk result, which now is outdated and still shows the match. I think the disk result needs to be updated as well when the editor changes.

Here is a video showing the issue:

jul-04-2016 09-06-56

Activity

  1. added
    bug
    search
    on Jul 4, 2016
  2. sandy081 commented on Jul 4, 2016

    @sandy081
    Member

    Benjamin Pasero (@bpasero) Yes, I am aware of this and I think there are few other such corner cases causing due to not proper sync between search models.

  3. sandy081 commented on Jul 5, 2016

    @sandy081
    Member

    Closing this as this will be fixed with #8515

  4. added
    *duplicate
    and removed
    bug
    on Jul 5, 2016
  5. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatesearch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions