Bug 385558

Summary: Kate is slow when folding large xml file (4.5 MB)
Product: [Applications] kate Reporter: Petro <piotr.panasiuk>
Component: foldingAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: xml file - kate/kwrite slowdown

Description Petro 2017-10-10 19:22:28 UTC
When folding, editing ~4.5M xml file (shift+ctrl+ -) kate / kwrite crashes.
Occurs any time when applied.
Bug is still present in kdeneon 5.11.0
Comment 1 Christoph Cullmann 2017-12-20 21:50:51 UTC
Hi, we need an example to reproduce this, thanks!
Comment 2 Petro 2017-12-22 12:57:02 UTC
Created attachment 109483 [details]
xml file - kate/kwrite slowdown

when using this file kate/kwrite notice huge slowdown and lost response for a while
Comment 3 Petro 2017-12-22 13:10:02 UTC
My previous assumptions about kate crash was not correct. Kate lost possibility to respond for a while, later it comeback to live.
Comment 4 Christoph Feck 2018-01-02 14:48:50 UTC
Thanks for the update; changing title.
Comment 5 Christoph Cullmann 2018-08-16 21:10:03 UTC
I would not call it fast, but the current KWrite/Kate master build doesn't crash.
It just folds the stuff like it should and you still can edit reasonable well.