Bug 293130 - kate is not capable of editing/saving html files
Summary: kate is not capable of editing/saving html files
Status: RESOLVED DUPLICATE of bug 225228
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: 2012-02-02 11:21 UTC by martin.suc
Modified: 2012-02-02 19:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***