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
Author: loh tar <loh.tar@googlemail.com> 2022-09-30 22:38:24 Committer: Christoph Cullmann <cullmann@kde.org> 2022-10-01 19:01:29 Parent: e0f821a09c48a87c37af9f51a70da49a1db04c6c (GIT_SILENT Upgrade ECM and KF version requirements for 5.99.0 release.) Child: e520c9f879eb2d4958a17460a291aa4b56a32a39 (GIT_SILENT Sync po/docbooks with svn) Branches: master, remotes/origin/master, remotes/origin/work/better-on-disk-update, remotes/origin/work/script-exec Follows: v4.100.0-rc1 Precedes: v5.100.0-rc1 Ensure to set highlight on reload when file type was set by user This change do essentially nothing else than before, we only call updateFileType(..) direct and not by setMode() which allows bypassing the blocking in updateFileType(..) BUG:454715 *** This bug has been marked as a duplicate of bug 454715 ***