Skip to content

Search freezes UI if "Show only most nested match" filter is enabled #4337

Description

@iloveeclipse

Found while testing #4236.

Regression originating initially from 0474b01 / eclipse-platform/eclipse.platform.text#144, reported in eclipse-platform/eclipse.platform.text#187 and (probably) not fully fixed eclipse-platform/eclipse.platform.text#189 or appearing again after some other change.

If "Show only most nested match" filter is enabled, search query that finds many matches freezes UI for a very long time.

To reproduce, clone https://github.com/iloveeclipse/java-project-generator/compare/issue_3720 branch, import project, run "Main" , refresh the project and search in the project for "a" character. In the current case we will have ~1.000.000 matches in 20.000 files. UI will freeze for ~10 minutes (depending on HW).

I plan to push the fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions