| Summary: | >> Replace checked << cause a freeze/crash | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Matthias <shalokshalom> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kare.sars |
| Priority: | NOR | ||
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Matthias
2017-06-05 13:16:24 UTC
Thanks for the report! I have actually also seen this problem when replacing multiple items in many different files. There are two problems here: 1) The search/replace buttons are not disabled during the replace. 2) There is no indication that there is stuff happening. If you have the Documents tool-view open you can see that there are a bunch of files being opened. Saving all the 980 files will also take a little while without status updates. If you wait long enough it should run through all the almost 1000 files :) At least it did here for me (with kate/ktexteditor from master on Neon stable) Can you confirm that my suspicion is right? No, because it worked several times within one, two seconds. Now I can reproduce it always, whyever. :) Thanks for update; changing status. This here is a quick overview about the used hardware, i think the performance should be well enough: https://gist.github.com/ShalokShalom/d7a125b7e2daffc274df994a34219b02 I have a patch for disabling the buttons during a search and I am working on indicating what file is currently being replaced in (or updating it every x ms) Only problem is finding time to finish it ;) So, the buttons are an issue for the crash, when they are enabled? I am willing to test this patch. :) Git commit 72e8bd3dcc27a5216003693ceb8fe4d5f7b02ca3 by Kåre Särs. Committed on 14/06/2017 at 19:45. Pushed by sars into branch 'master'. S&R: Disable search buttons while replacing + add replace status M +59 -0 addons/search/plugin_search.cpp M +2 -0 addons/search/plugin_search.h M +7 -1 addons/search/replace_matches.cpp M +3 -0 addons/search/replace_matches.h https://commits.kde.org/kate/72e8bd3dcc27a5216003693ceb8fe4d5f7b02ca3 Mathias: You can test the disable buttons and replace status from master :) Please close the bug if the change fixes the freeze for you. Thanks, Kåre Wonderful, this seems to work perfectly, thanks a lot, dear ^-^ |