https://bugs.kde.org/show_bug.cgi?id=489600
Bug ID: 489600 Summary: Some .kateconfig settings are applied only after file reload (pressing F5) Classification: Applications Product: kate Version: 23.08.5 Platform: openSUSE OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: chri...@mailbox.org Target Milestone: --- SUMMARY After having used a .kateconfig file for a long time (mostly for file type-dependent tab-related settings), I wanted to also use it to change the font for some file types. First I was happy to see that there is in fact a documented variable for this but then I was disappointed to see that it had no effect. Only by chance did I notice that after reloading the file (by pressing F5) the setting was actually applied. STEPS TO REPRODUCE 1. If you do not have one already, create a .kateconfig file in your home directory. (Learn about [kateconfig-files](https://kate-editor.org/2006/02/09/kateconfig-files/) if you want to. 2. Add a modeline like the following `kate-wildcard(*.txt): word-wrap-column 20; font-size 18; font Noto Sans;`. The `word-wrap-column 20` is just for testing (this should work), the specific `font` does not matter -- pick any font you have installed (non-mono for more obvious effect). Learn about [kate-modelines](https://kate-editor.org/2006/02/09/kate-modelines/) if you want to. 3. Open a file ending in `.txt`. OBSERVED RESULT You will see your default font (and the marker line after 20 columns). EXPECTED RESULT You will see a large non-mono font. SOFTWARE/OS VERSIONS Linux: openSUSE 15.6 KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.12 -- You are receiving this mail because: You are watching all bug changes.