Bug 384128

Summary: kate/kwrite become unusable with bigger JSON strings
Product: [Applications] kate Reporter: Alexander Semke <alexander.semke>
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major CC: cullmann
Priority: NOR    
Version: 17.08.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: generated JSON string

Description Alexander Semke 2017-08-29 08:01:44 UTC
Created attachment 107571 [details]
generated JSON string

To reproduce a problem, open a file with some JSON content having couple of hundreds of KBs in size. After removing the limitation for the number of shown characters, kate becomes unusable. Navigation, scrolling, etc. is hardly possible and the CPU consumption is very high. It's not even possible to work with a 500kB file on a machine with 12 cores. Attached is an example file (generated with json-generator.com) causing such problems. Visual Studio Code for example doesn't have any performance issues with such files.
Comment 1 Christoph Cullmann 2018-08-16 21:13:30 UTC

*** This bug has been marked as a duplicate of bug 345775 ***