Bug 234654

Summary: bug on the formatting styles list view
Product: [Developer tools] kdevplatform Reporter: Julien Michot <julien.michot.fr>
Component: sourceformatterAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal CC: olivier.jg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Julien Michot 2010-04-17 23:29:57 UTC
Version:           svn (using KDE 4.4.2)
Compiler:          gcc4 
OS:                Linux
Installed from:    Ubuntu Packages

I have some problem when I add new formatting styles (kdevelop>configure) and more precisely when I remove one.

I do OK, and when I return to (kdevelop>configure>formatting styles), I have a blank line in the list view, so i don't know which formatting style is really applied on my .h/.cpp files.
The weird thing is that when I go to the text/-x-cpphdr or text/-x-cppsrc I have a blank line or the old deleted name (but the line is yet here).

Moreover, there is a bug since it does not do what I have chosen 
in the list option, I think the problem is on the styles indice which is not well saved.
Comment 1 Julien Michot 2010-04-17 23:31:02 UTC
sorry s/indice/index ;)
Comment 2 Olivier.jg 2010-12-18 06:59:16 UTC
KConfigGroup::deleteGroup doesn't work properly until KDE 4.6 apparently...

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