Skip to content

"Incremental search" behavior of "SEARCH" view field can cause crash #1660

Open
@dagnall53

Description

@dagnall53

Describe the problem

When using the "global" search in a large project, the IDE can crawl to a halt as the search term is typed in. In some situations I have had the IDE turn unresponsive with just a single letter typed in - preventing me from adding more elements to the search term.

I believe that this is due to it trying hard to find all instances of the search term AS it is being typed in.

To reproduce

  1. Open a large sketch.
  2. Open the "SEARCH" view.
  3. Type a letter in the "Search" field.

Expected behavior

Triggering the search only after the user clicks a button or presses Enter would prevent the problem.

Arduino IDE version

2.0.1

Operating system

Windows

Operating system version

10

Additional context

Additional reports

Keywords

  • "find"
  • "hot search"
  • "incremental find"
  • "real-time suggestions"
  • "live search"
  • "active search"
  • "real-time"
  • "realtime"
  • "real time"
  • "hang"
  • "freeze"

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions