Bug 352782

Summary: word wrap settings not saved
Product: [Applications] kate Reporter: Franz Schrober <franzschrober>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kare.sars
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Franz Schrober 2015-09-16 06:55:16 UTC
Kate is version 15.08.0

When I change the word wrap setting (dynamic word wrap, static word wrap marker, ..) and close the kate session then it is not saved. Reopening kate will then use this dynamic word wrap and no static word wrap marker.

Reproducible: Always

Steps to Reproduce:
1. open kate and change word wrap settings (no dynamic wrap, static wrap marker)
2. close kate
3. open kate and check again what the marker says

Actual Results:  
wrap setings are back to "default"

Expected Results:  
wrap settings were saved and reloaded

The config ~/.config/katepartrc after kate is closed has following entries (which looks like the settings were not saved):

[Document]
Word Wrap=false
Word Wrap Column=80

[Renderer]
Word Wrap Marker=false

[View]
Dynamic Word Wrap=true
Dynamic Word Wrap Align Indent=80
Dynamic Word Wrap Indicators=1
Comment 1 Kåre Särs 2015-09-16 19:35:10 UTC
The settings that you change from the Settings->Configure Kate... dialog are permanent and global, while the things you change from the menus only temporarily overrides the global settings.

This word-wrap setting is under "Editing" in the config dialog.
 
Hope this helps,
  Kåre

(Invalid is a bit harsh and could be "works as intended" ;)