Summary: | Large search and replace operations cause Kate/KWrite to hang for long time | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | NiO <arcooke> |
Component: | search | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | christoph, kare.sars, loh.tar |
Priority: | NOR | ||
Version: | 18.12.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
NiO
2018-12-19 19:45:52 UTC
Hi, You are probably referring to the built-in search. This is a known issue for files with long lines in Kate/KWrite. There is now ongoing work to split the replacing into chunks so that it will be possible to cancel the replace if it takes too long. A similar effort is also being done for the Search & Replace plugin. I'm actually testing the S&R change at the moment. Hopefully this will be a bit improved for Kate 19.04 *** This bug has been marked as a duplicate of bug 244424 *** (In reply to Kåre Särs from comment #1) > Hi, > > You are probably referring to the built-in search. > > This is a known issue for files with long lines in Kate/KWrite. > > There is now ongoing work to split the replacing into chunks so that it will > be possible to cancel the replace if it takes too long. > > A similar effort is also being done for the Search & Replace plugin. I'm > actually testing the S&R change at the moment. > > > Hopefully this will be a bit improved for Kate 19.04 Great to hear, thank you. I guess Christoph's dupe confirms this has been an issue for quite a while. I did search beforehand but didn't notice any similar reports. Apologies for the duplicate! Actually, reading the duplicate again, it only talks about the search operation. I am not sure if the replace operation (which needs to modify the text) can be executed in a separate thread. Changing bug status and let Kate maintainers handle it. > There is now ongoing work to split the replacing into chunks so that it > will be possible to cancel the replace if it takes too long. https://phabricator.kde.org/D17459 There are mentioned BUGs: 333517 244424 The search/replace stuff got fixed! The search stuff still is valid, see bug 244424 |