Bug 338236 - Per-filetype "use default" indentation mode doesn't use "default indentation mode"
Summary: Per-filetype "use default" indentation mode doesn't use "default indentation ...
Status: RESOLVED DUPLICATE of bug 342321
Alias: None
Product: kate
Classification: Applications
Component: indentation (other bugs)
Version First Reported In: 16.04.1
Platform: Debian testing Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-13 13:33 UTC by mel
Modified: 2018-08-17 21:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***