Bug 293130

Summary: kate is not capable of editing/saving html files
Product: [Applications] kate Reporter: martin.suc
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kare.sars
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description martin.suc 2012-02-02 11:21:36 UTC
Version:           unspecified (using Devel) 
OS:                Linux

kate version 3.7.97 (kde 4.7.97) has problem to edit / save html files 

Reproducible: Always

Steps to Reproduce:
try edit any html file

Actual Results:  
just input, delete or modify any character is not possible

Expected Results:  
editing

edit
Comment 1 Kåre Särs 2012-02-02 11:32:47 UTC
Are you sure the html file is not write protected? Because here I'm editing a html-file just fine.

Could it be that the html file has very wide lines which results in the file being opened in readonly mode (a wide line problem worked around by wrapping the line)
Comment 2 martin.suc 2012-02-02 12:33:26 UTC
It is wide lines. What is the problem and when will it be fixed ?
Comment 3 Dominik Haumann 2012-02-02 19:18:55 UTC
It is a problem in Qt itself, as we support bi-directional text rendering, and in order to do that successfully, the entire line needs to be layouted. And this is where Qt is very bad at for very long lines.

A workaround exists in KDE 4.8, Kate will automatically wrap the lines at column 1024 (depending what you configure in the settings). It's still not optimal, but better than a stall of the program.

I close this as duplicate report.

*** This bug has been marked as a duplicate of bug 225228 ***