Skip to content

Find in all opened files performance issue #11814

@donho

Description

@donho

Description of the Issue

Find in all opened files in Find dialog has the performance issue after the second run (included).

Steps to Reproduce the Issue

  1. Open "stylers.model.xml" & stylers.xml which are with the identical content.
  2. Type "Color" in the "Find:" field, uncheck "match whole word only" & "match case"
  3. Click "Find in all opened documents", the result appears immediately
  4. Click "Find in all opened documents" again for searching the same occurrence with the same condition the 2nd time.

Expected Behavior

The result appears immediately, as the 1st launch.

Actual Behavior

The UI is hanging, the result takes 7-10 seconds.

Debug Information

Notepad++ v8.4.2   (64-bit)
Build time : Jun 17 2022 - 19:59:15
Path : C:\sources\notepad-plus-plus\PowerEditor\bin64\Notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 11 (64-bit) 
OS Version : 21H2
OS Build : 22000.739
Current ANSI codepage : 1252
Plugins : 
    Explorer (1.9.5)
    HexEditor (0.9.12)
    JSMinNPP (1.2205)
    NppConverter (4.4)
    NPPJSONViewer (1.40)
    XMLTools (3.1.1.13)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions