Bug 453872

Summary: 15 MB file: simple search (CTRL-F) to find results takes minutes; search/replace (CTRL-R) find all without replacing shows results immediately
Product: [Applications] kate Reporter: Hubert Kaschulke <dgplfz5sri-Bu99AXCtTQ>
Component: searchAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: waqar.17a
Priority: NOR    
Version: 20.04.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Hubert Kaschulke 2022-05-16 08:04:51 UTC
STEPS TO REPRODUCE
1. Create a bigfile (15 MB or so with mixed content) and load it.
2. Search for a word (Ctrl+F)
3. Search/Replace (Ctrl+R) for a word; just do "find all" without "replace all"

OBSERVED RESULT
2. takes minutes
3. reacts immediately

EXPECTED RESULT
2. should react immediately, too, and was in a version some years ago

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux: openSUSE Leap 15.3
Linux/KDE Plasma: 5.18.6
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION
Comment 1 Waqar Ahmed 2022-05-17 07:26:27 UTC
Please update to a newer Kate / KDE frameworks version. Search performance was improved a lot in last few releases.