https://bugs.kde.org/show_bug.cgi?id=466982
Bug ID: 466982 Summary: Merely having some large files open, sitting there doing nothing, causes Xorg to consume a lot of CPU Classification: Applications Product: kate Version: 22.12.2 Platform: Manjaro OS: Linux Status: REPORTED Severity: major Priority: NOR Component: application Assignee: kwrite-bugs-n...@kde.org Reporter: php4...@gmail.com Target Milestone: --- SUMMARY STEPS TO REPRODUCE 1. I opened two arguably large files (200K lines each) in Kate in two tabs 2. (probably irrelevant: at some point I copied the contents of each and pasted them somewhere else) 3. I left the two files open in kate, sitting there doing nothing with them. Most of the time I wasn't even using Kate. From time to time I would be editing other files in kate in other tabs (in the same window), never giving focus to the two tabs where the large files were opened. OBSERVED RESULT For several hours continuously, probably since the moment I opened the two files, to when I closed them, the Xorg process was consuming 30% CPU all the time. For many hours It didn't even cross my mind that it could be Kate. EXPECTED RESULT Having a file open in an unfocused tab doing absolutely nothing, no matter how big the file, should have absolutely zero impact on CPU consumption. With syntax highlight, I can expect some sluggishness when I'm actually modifying the contents of the file (not even when scrolling), or I don't know, maybe searching. But definitely not when the problematic file is not even in the currently focused tab. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.0.19-3-MANJARO (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-1065G7 CPU @ 1.30GHz Memory: 7.3 GiB of RAM Graphics Processor: Mesa Intel® Iris® Plus Graphics Manufacturer: LENOVO Product Name: 81WE System Version: IdeaPad 3 15IIL05 -- You are receiving this mail because: You are watching all bug changes.