Bug 338236

Summary: Per-filetype "use default" indentation mode doesn't use "default indentation mode"
Product: [Applications] kate Reporter: mel
Component: indentationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: christoph, ilmari.lauhakangas
Priority: NOR    
Version First Reported In: 16.04.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description mel 2014-08-13 13:33:44 UTC
Steps to reproduce:
1. Open Kate
2. Set Settings->Editing->Indentation->Default indentation mode => "Normal"
3. Set Settings->Open/Save->Modes & Filetypes->Scripts/Python->Indentation Mode => "Use Default"
4. Then either:
4a. Open a python file for the first time (ie. one that isn't in the metainfos); or
4b. Create a new document (at which point the indentation mode is "Normal"), then save it with a .py extension

In either case, the indentation mode assigned to the file gets set to "Python", rather than the configured default; "Normal".

I experience this on my Debian Testing/Jessie install (with Kate 3.13.3), but have also tested and seen this same behaviour in a fresh Kubuntu 14.04 virtual machine (Kate 3.13.2).
Comment 1 Buovjaga 2016-06-19 12:45:34 UTC
Confirmed.

Arch Linux 64-bit
Kate 16.04.2
KDE Frameworks 5.22.0
Qt 5.6.1
xcb wm
Comment 2 Christoph Cullmann 2018-08-17 21:11:19 UTC
Same issue as the other bug: that setting just doesn't work at all.

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