https://bugs.kde.org/show_bug.cgi?id=461942
Bug ID: 461942 Summary: When (auto-)reloading a syntax-highlighted source file, HL/mode gets forgotten if it isn't set by default Classification: Applications Product: kate Version: 22.08.2 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: part Assignee: kwrite-bugs-n...@kde.org Reporter: miro.kropa...@gmail.com Target Milestone: --- STEPS TO REPRODUCE 1. Open a source file 2. Change Tools -> Mode to something else (I tested *.asm and set it to Assembler/Motorola 68k) 3. Externally change something in that file 4. In the dialog/popup, enable auto-reloading 5. Change something externally again 6. Observe how file is updated but its syntax highlighting (and mode) is lost. OBSERVED RESULT It seems that this doesn't apply for files which are opened in a correct mode/HL. However for others (with manually changed mode) not only the mode/HL isn't kept but mode/HL is lost in general, i.e. not even the default one is set. Also, please note that the mode/HL is kept selected in Tools/Assembler/Motorola 68k so the information isn't totally lost. EXPECTED RESULT I'd like to avoid setting the mode again and again. :) SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.26.2 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.6 -- You are receiving this mail because: You are watching all bug changes.