Bug 434162 - Kate resets indentation to the default for a language ignoring the user's settings for the language
Summary: Kate resets indentation to the default for a language ignoring the user's set...
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: indentation (other bugs)
Version First Reported In: 20.12.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-08 21:23 UTC by qptain Nemo
Modified: 2024-06-18 17:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qptain Nemo 2021-03-08 21:23:53 UTC
SUMMARY
After changing the indentation both in the tools menu and changing the default indentation for a particular language in the settings for that language (open & save / filetypes), Kate still sometimes reverts to the indentation style that was default for that language, which is then reflected in the selected option in the tools menu. Happened to me with Pascal code.

STEPS TO REPRODUCE
1. change the default indentation setting for a given language / filetype
2. change the active indentation setting in the tools menu as well
3. type code, press enter

OBSERVED RESULT
sometimes after pressing enter, the indentation setting will be reset to the original default for the language

EXPECTED RESULT
the indentation style remains to be the one selected by the user in both the tools menu and the language settings

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Frameworks Version: 5.78.0
Qt Version: 5.12.2 (built against 5.15.2)
Comment 1 Christoph Cullmann 2024-06-18 17:21:47 UTC
Tried it with 24.04, did set e.g. c-style, was kept.