Kate Version 5.0.0 (3af331a) Using KDE Frameworks 5.7.0 Reproducible: Always Steps to Reproduce: 1. download http://code.jquery.com/jquery-2.1.3.min.js (minified file) 2. Launch Kate, then go Settings->Configure Kate->Open/Save->Line Lenght Limit and set Unlimited. (if do not do this, file are not editable) 3. Then: File->Open and choose jquery-2.1.3.min.js. 4. Then press CTRL+A and see rapid / huge CPU usage. This shown on sreenshot maden with top. On the first screenshot we can see ctrl+a of jquery-2.1.3.min.js and huge usage of cpu, on the second one - Kate after closed file jquery-2.1.3.min.js. 5. Bug reproduces always. screens http://res.cloudinary.com/metsys/image/upload/v1427922330/kde5/snapshot48.png http://res.cloudinary.com/metsys/image/upload/v1427922329/kde5/snapshot50.png Actual Results: screens http://res.cloudinary.com/metsys/image/upload/v1427922330/kde5/snapshot48.png http://res.cloudinary.com/metsys/image/upload/v1427922329/kde5/snapshot50.png Expected Results: do not load CPU to top https://forum.kde.org/viewtopic.php?f=225&t=125252 cpu info http://pastebin.com/NZYTSmSC screens http://res.cloudinary.com/metsys/image/upload/v1427922330/kde5/snapshot48.png http://res.cloudinary.com/metsys/image/upload/v1427922329/kde5/snapshot50.png
Repro. Arch Linux 64-bit Kate 16.04.2 KDE Frameworks 5.23.0 Qt 5.7 xcb wm
*** Bug 384128 has been marked as a duplicate of this bug. ***
We try to improve this in https://phabricator.kde.org/D17241
*** Bug 387910 has been marked as a duplicate of this bug. ***
This got fixed with https://phabricator.kde.org/D17241