Summary: | Slow painting of long dynamically wrapped lines | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Alexander Dymo <adymo> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | christoph, mycae, sgh, subscriber |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
The test file where cursor movement is slow because of repainting
Callgrind profile taken during up/down cursor movements in kwrite |
Description
Alexander Dymo
2008-09-15 10:46:30 UTC
Created attachment 27425 [details]
The test file where cursor movement is slow because of repainting
Created attachment 27426 [details]
Callgrind profile taken during up/down cursor movements in kwrite
I think kate devs already dealt with the "problem" here: http://bugs.kde.org/show_bug.cgi?id=169549 I'm not sure and haven't looked at your data, hence not closing it as duplicate yet. Yeah, looks like the same problem, but slowdown is tangible even with 5-10 wrapped lines. I don't know if that can be improved though. I'm aware of these issues and plan to look into them; we may need to switch to having multiple QTextLayouts per dynamically wrapped line :( As it turns out, to really see the problem, you should be running a NVidia card and using the proprietary driver. On a system with an ATI card (also proprietary driver) you can see the problem, but kate and kwrite are perfectly usable. With nvidia, you can't work with wrapped lines at all. I allso have that problem. What happenend since kde3. On kde3 my nvidia card worked perfectly. Is it possible to somehow make QT4 behave (from a hardware perspective) like QT3 ? I've just upgraded to Qt 4.5 RC1 (same system with ATI proprietary drivers). The problem is almost solved by the new Qt. To see the slowdown, you now need to have a long line with more than 15000 characters. When launched as "kwrite --graphicssystem raster", slowdown disappears completely and kwrite from KDE4 behaves just like kwrite from KDE3. This is great news. Is 4.4.3 and 4.5 rc1 binary compatible ? And therefor there will be no patches to katepart, painting text is expensive, there is not that much room for kate to do it better, still the line needs to be redrawn. still. kde4 kate is a lot slower than the kde3 version. I realize this issue is very old, but why was this issue resolved as invalid? The last comments do not seem to support "invalid", it seems to me. I found this issue searching the bug tracker because I am running into painful slowdowns with long lines. I assume it is the same problem, but am unsure if I should comment on this issue or open a new. I think this is still valid although it might be entirely QT reletated. |