Bug 270122

Summary: Kate incorrectly saves configuration to disk when configDialog() is invoked
Product: [Applications] kate Reporter: Spencer Jackson <spencerandrewjackson>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Spencer Jackson 2011-04-05 02:46:02 UTC
Version:           SVN (using KDE 4.6.1) 
OS:                Linux

Kate includes a reference to writeConfig() at the end of configDialog(). However, the documentation states, "changes will be applied to the editor, but not saved anywhere automagically, call writeConfig() to save them," implying that this behaviour is incorrect.

Reproducible: Always

Steps to Reproduce:
Invoke writeConfig()

Actual Results:  
Settings were written to disk.

Expected Results:  
No settings should be written to disk.
Comment 1 Milian Wolff 2011-04-05 11:35:55 UTC
you mean "steps to reproduce: invoke configDialog()" probably, right? ;-)

patches welcome but make sure kate, kwrite and kdevelop still work as expected.
Comment 2 Dominik Haumann 2011-08-13 19:23:15 UTC
Does that lead to any misbehavior?
Review request: https://git.reviewboard.kde.org/r/101026
Comment 3 Christoph Cullmann 2011-11-07 12:13:49 UTC
Git commit 8638e9a2ce9f65316df992cf7a39ca8294c9e77b by Christoph Cullmann.
Committed on 07/11/2011 at 13:13.
Pushed by cullmann into branch 'master'.

fix KTextEditor::Editor::configDialog implementation to not save config
this was not correct, as stated in docs otherwise
BUG: 270122

M  +0    -2    part/utils/kateglobal.cpp

http://commits.kde.org/kate/8638e9a2ce9f65316df992cf7a39ca8294c9e77b