Summary: | kate (and kwrite) on large files: version 3.7 is fine, version 15 sucks | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Rick Graves <gravesricharde> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | christoph, nate, reavertm |
Priority: | NOR | ||
Version: | 15.12 | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
It shows the cursor one line down from the top.
Thinkpad T500 with kubuntu drives for 14.04 & 16.04 testing kubuntu 16.04 (kate version 5/15) on a kubuntu 14.04 (kate version 3) desktop 4 core i5 3230M 2.60GHz laptop |
Description
Rick Graves
2017-04-09 08:05:23 UTC
I have not yet tested this here locally, but I once heard that the graphics driver may cause very slow behavior. It is unlikely you hit this, but still this may be one reason. Besides that, Kate 3 uses Qt4, and Kate 5 uses Qt 5 - so also the underlying Qt stack may cause this. This needs to be profiled. Just tested this: For me, following your instructions, Kate reacts snappy without any delays, so I cannot reproduce. And if we cannot reproduce we cannot do anything about it. Do you have any highlighting activated? What graphics card do you have? Could you google for this driver and kate, whether you find other users that also have this issue? How fast is your CPU? Bug 378330 seems to be related, but that one is only about the paste delay. I use kate for small files (python scripts) and have no problem pasting into small files. If my only problem was the paste delay, I would live with it and I would never have complained. For me, the much bigger aggravation is the arrow keys do not work with keyboard repeat in 16.04 and 16.10, kate version 5/15 (kate says version 15, kwrite says kate version 5). Created attachment 104929 [details]
Thinkpad T500 with kubuntu drives for 14.04 & 16.04
One laptop, two hard drives, 1) kubuntu 14.04 & 2) kubuntu 16.04.
The Thinkpad T500 uses the ATI Mobility Radeon HD 3650 display adapter (http://www.thinkwiki.org/wiki/Category:T500). I have the same problem with kate and kwrite on my home desktop, which has a dual core Athlon II CPU and 16 GB of memory, on which kinfocenter says the display adapter is NVIDIA GT218 [GeForce 210]. How does one activate highlighting? I am mostly using the default configuration. For kate, I set the line length limit to zero and I use spaces not tabs. Created attachment 104933 [details]
testing kubuntu 16.04 (kate version 5/15) on a kubuntu 14.04 (kate version 3) desktop
On my alternate office desktop, I unplugged the hard drive on which kubuntu 16.04 (kate version 3) is installed and installed kubuntu 16.04 (kate version 5/15) on a spare hard drive.
I tried kubuntu 16.04 (kate version 5/15) on my alternate office desktop (see the picture I uploaded just now). Following the test procedure described, after hitting paste (Ctrl-V), the text took 5 seconds to appear, and after hitting down arrow once, it took 6 seconds for the cursor to appear one line down from the top. The hardware is an Athlon II dual core CPU, 8 GB of memory, nVidia GeForce 8400GS display card, monitor with 1920 x 1080 pixels resolution. Yes on this hardware kate version 3 (kubuntu 14.04) performs well, the pasted text appears instantly, the cursor appears one line down instantly. I believe my hardware all greatly exceeds the minimum recommended for kubuntu. Two questions: 1) What is the minimum recommended hardware to run a QT5 application? (I looked and did not find on google.) 2) What hardware does the maintainer use to test kate and kwrite? Thanks. I checked your procedure and input text file, and cannot reproduce the problem with kate-16.12.3, on i5-4300M 2.6GHz laptop. Pasting is instantaneous, when scrolling the text using arrow keys, cursor stops blinking and visibly travels line by line. Could you perhaps try some live dvd KDE distro with latest plasma apps? For instance this one http://cdimage.ubuntu.com/kubuntu/releases/17.04/beta-2/ Created attachment 104985 [details]
4 core i5 3230M 2.60GHz laptop
laptop on which kate/kwrite performance is good on big files.
Good news. See the picture I uploaded -- a 4 core i5 3230M 2.60GHz laptop (Lenovo Thinkpad Edge E431, came with Windows 8). Testing as described using kubuntu 16.04 (kate/kwrite version 5/15), performance is good. For use on big files, it seems the minimum hardware requirements for the kate editor exceed the minimum hardware requirements for kubuntu. Is the bottom line that for big files, kate needs 4 cores, 2 cores are not enough? In an ideal world, this would be up front, and people like me would not have to discover it by trial and error. This is clearly a performance bug, not some kind of intentional hardware requirement. Thanks for finding it, Rick! Some thoughts: 1) Package maintainers are volunteers and guys like me appreciate their efforts. 2) kubuntu is not kde, but kde needs distributions. 3) Ideally, kde could encourage package maintainers to test using systems that approximate the minimum hardware recommended by some popular distributions. If package maintainers only test using much more powerful hardware, they can remain oblivious to, and in denial of, the problems encountered by some rank and file users. I can agree that current Kate versions use more resources for large files. On any "current" machine that you bought in the last 1-2 years, that is normally no issue for anything below 100MB, if it has no expensive hl or extremely long lines. We will not have the resources to change the architecture to something that will do it better. Therefore this works for me as designed, I am sorry it brought inconveniences for you. |