Bug 236833 - kate has issues with big files without line breaks
Summary: kate has issues with big files without line breaks
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-08 11:57 UTC by Rico Zienke
Modified: 2011-06-25 21:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
example file that causes the issues described above (102.60 KB, image/svg+xml)
2010-05-08 11:58 UTC, Rico Zienke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rico Zienke 2010-05-08 11:57:10 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

Hi,
as announced in bug report https://bugs.kde.org/show_bug.cgi?id=193046.

I exported from Open office and graphic into SVG format. Afterwards I tried to edit it in kate. When I open it, kate seems to have issues with this file and hardly response any more. When I try now to select some letters or move the cursor to the right, kate is very slow and uses a lot of CPU resources.(I'm working with a netbook but for example notepad has no issues with such a file)

I think the reason is that there is no line break in this file.
But it is also not possible to add them in kate afterwards because kate does hartly react. I have to kill the process :-(

My solution was here to add the line breaks with another editor and go on afterwards with kate. 


I reproduced it with kate 3.4.2 and git version taken today.
I attached a file.
Regards Rico
Comment 1 Rico Zienke 2010-05-08 11:58:47 UTC
Created attachment 43364 [details]
example file that causes the issues described above

here is an example
Comment 2 Christoph Cullmann 2011-06-25 21:29:30 UTC
Fixed in KDE 4.8, too long lines will be auto-wrapped on load.