loh.tar created this revision. loh.tar added reviewers: KTextEditor, VDG. Herald added projects: Kate, Frameworks. Herald added subscribers: kde-frameworks-devel, kwrite-devel. loh.tar requested review of this revision.
REVISION SUMMARY Without this patch could it happens that Kate run an almost endless S&R job which could lead up to an unusable system due to a run out of memory with no possibility to cancel the job other than kill Kate, See... CCBUG: 333517 TEST PLAN Before F6466371: 1544349999.png <https://phabricator.kde.org/F6466371> New waiting for action F6466378: 1544380395.png <https://phabricator.kde.org/F6466378> New while running job F6466380: 1544381064.png <https://phabricator.kde.org/F6466380> REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D17459 AFFECTED FILES src/search/katesearchbar.cpp src/search/katesearchbar.h src/search/searchbarpower.ui To: loh.tar, #ktexteditor, #vdg Cc: kwrite-devel, kde-frameworks-devel, #ktexteditor, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann