Bug 424110 - Search function is extremely slow
Summary: Search function is extremely slow
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: search (show other bugs)
Version: 20.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-11 20:40 UTC by Hubert Kaschulke
Modified: 2020-08-11 04:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Kaschulke 2020-07-11 20:40:45 UTC
SUMMARY
Search function is extremely slow

STEPS TO REPRODUCE
1. Create a text file of minimum 8.1 MB (81,000 KB)
2. search a term with more than 3 letters
3. 

OBSERVED RESULT
Already after entering 3 letters Kate gets extremely slow and stops working for a couple of seconds

EXPECTED RESULT
In the Kate version of LEAP 15.1 there was no delay at all


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSuse LEAP 15.2
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION
Comment 1 Kåre Särs 2020-07-12 08:42:50 UTC
Thanks for the report.

I think we need some more context. I just tried to create a file with 3 000 000 lines with 150 characters per line. The file was 460MB and the searching was smooth, both with the builtin search and the search plugin.

How long where the lines in the file you created?
Comment 2 Bug Janitor Service 2020-07-27 04:33:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2020-08-11 04:33:25 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!