https://bugs.kde.org/show_bug.cgi?id=449698
Bug ID: 449698 Summary: Highlight changed and unsaved lines markers not updated correctly on pressing ctrl-s Product: kate Version: 21.12.2 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: application Assignee: kwrite-bugs-n...@kde.org Reporter: rull...@gmail.com Target Milestone: --- SUMMARY After editing some lines, pressing ctrl-s to save the file does not update the 'Left side' markers to green for all edited lines STEPS TO REPRODUCE 1. Ensure Settings->Configure kate->Appearance->Borders->Highlight changed and unsaved lines is checked. 2. Create a dummy text file containing some lines of text in a directory where you do not have write permission, for example /etc using sudo. 3. Navigate to the directory in dolphin, right-click the file and select open with kate. 4. Make changes to some of the lines leaving the cursor on the last line edited. 5. Press ctrl-s to save the file entering your password when prompted. OBSERVED RESULT The red left side markers for the changed lines turn to green only for the lines on and below the line the cursor is on. EXPECTED RESULT The red left side markers for all changed lines should turn to green. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.23.90 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.16.5-arch1-1 (64-bit) Graphics Platform: X11 Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1080/PCIe/SSE2 ADDITIONAL INFORMATION The issue only presents itself after entering your password. The issue is not present if you have write access to the file and are not prompted to enter a password. Moving the cursor in any direction with the arrow keys causes the remaining red markers to turn green. Moving the mouse pointer to the left side that contains a line number causes the remaining red markers to turn green. -- You are receiving this mail because: You are watching all bug changes.