Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Find in Files results semi-broken after canceling search bar #6966

@peterflynn

Description

@peterflynn
  1. Run a Find in Files search that turns up some results
  2. Open the Find in Files bar again, but press Esc or click out to close it before running a search
  3. Make an edit that would add or remove a search result
  4. In the search results panel at bottom, click one of the file headings to toggle it

Result:
3 - results don't update
4- exception thrown

This is because _doFindInFiles() resets the search state immediately, instead of waiting until the search is begun. We should either move that code later, or close the results panel as soon as the Find in Files bar is reopened.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions