Bug 411228

Summary: Setting editor indentation to tabs and spaces reverts to tabs only
Product: [Applications] kdevelop Reporter: Aaron Williams <aaronw>
Component: generalAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.3.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Aaron Williams 2019-08-24 01:41:16 UTC
SUMMARY

I am working on a large C project and whenever I configure the editor
indentation to use tabs and spaces then click either apply or OK, the 
setting does not take effect.  If I re-open the setting page it shows
that it reverted to tabs only.

STEPS TO REPRODUCE
1. Open a C project
2. Configure to use the C kernel coding style
3. In the settings editor indentation tab, select the "tabs and spaces" radio button
4. Click Apply and/or OK.
5. Return to the editor
6. Notice it has not taken effect.
7. Re-open the indentation tab and see that it has reverted to tabs only
OBSERVED RESULT


EXPECTED RESULT
It should select tabs and spaces so if I hit a carriage return it should
choose the appropriate indentation position using tabs and spaces (i.e. line
up additional parameters properly).  The tabs and spaces should also be 
present in the project configuration rather than global.  Note that my
project source formatter settings are configured to "Use default".

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION