Bug 383300

Summary: Indent mode not changed upon changing settings
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: rohan.preacher.smith
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: cullmann
Priority: NOR    
Version: 5.92.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description rohan.preacher.smith 2017-08-09 01:53:14 UTC
Indentation mode is not changed for already opened files without reloading them. This is not indicated in the Editor -> Editing -> Indentation or Editor -> Open/Save -> Modes & Filetypes settings.
Comment 1 Justin Zobel 2022-11-08 06:50:15 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 rohan.preacher.smith 2022-11-08 23:32:53 UTC
Indentation mode changes between 'Tabulators' and 'Spaces' in Kate Settings -> Editing -> Indentation, but changing to 'Tabulators and Spaces' instead changes to 'Tabulators'. I can change to 'Tabulators and Spaces' from the Indentation pop-up at the bottom of Kate.

In addition, changing the 'Indentation mode' setting in Kate Settings -> Open/Save -> Modes & Filetypes causes a crash but that's likely a separate bug.

KDE Plasma 5.24.6
KDE Frameworks 5.92.0
Qt 5.15.3
Kernel 5.15.0-52-generic
Comment 3 Christoph Cullmann 2023-12-18 19:52:04 UTC
That works as designed, if you e.g. use tab with 4 and indent with 4, it is just indent with tabs. (just as an example)