1) git clone https://github.com/KaOSx/apps 2) Open Kate, search and replace, in Folder (above path) 3) Search: pkgdesc= Find: pkg_description= 4) Hit Search and then Replace checked (980 hits) All the significant information which I can get out of gdb is: "pkg_description='Cross-platform, 3D and historically-based real-time strategy game'" Does not match "pkgdesc\\=" Its Kate 17.04.1 on Qt 5.8.0 and KDE Frameworks 5.34.0 on KaOS
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 ^-^