Bug 297194

Summary: Kate part keeps forgetting line length limit
Product: [Applications] kate Reporter: tim
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.10
Bug Depends on:    
Bug Blocks: 295197    

Description tim 2012-03-31 16:48:17 UTC
The new hard line-wrapping in kate can be turned off by changing the Line Length Limit to 0 in the Open/Save configuration. However, when katepart is invoked as a window in konqueror, this has to be configured every time.

To reproduce, use konqueror to open a text file containing long lines in a new tab (from a web page). The dialog explaining that the lines were too long is displayed. In the new tab, configure the editor to put the line length limit to 0 and then close the tab. Open it again, and all is fine; lines are not wrapped.

However, do the same thing in new konqueror window, and you get the dialog again; the line length limit has been forgotten. This gets very annoying when you commonly have text files with very long lines.
Comment 1 tim 2012-03-31 16:52:23 UTC
Should have mentioned: this is kate-part-4.8.1-1.fc17.x86_64
Comment 2 tim 2012-05-17 14:03:16 UTC
Still present in 4.8.3

Editing konquerorrc and adding

Line Length Limit=0

to the [Kate Document Defaults] section therein is a workaround.
Comment 3 Christoph Cullmann 2012-10-28 17:28:57 UTC
Git commit b51f7058ce33b2235711bc93b938756ac34dd90e by Christoph Cullmann.
Committed on 28/10/2012 at 18:27.
Pushed by cullmann into branch 'master'.

write config to global config object if the part shows its config dialog
via menu
else simple container apps like dolphin or konqueror never can change the config

M  +4    -0    part/view/kateview.cpp

http://commits.kde.org/kate/b51f7058ce33b2235711bc93b938756ac34dd90e