SUMMARY If a change is applied, and the new line is longer than the longest line in the file before, then that line is truncated. STEPS TO REPRODUCE 1. Create two files with the following contents: File1.txt: Line_1 Line_2 Line_3 File2.txt: Line_1 Longer_Line_2 Line_3 2. Open File1.txt and File2.txt in Kompare 3. The difference in line 2 is highlighted, click "Apply Difference" OBSERVED RESULT The file view on the right side shows "Long_L", where the last "L" is only showing partially. EXPECTED RESULT The file view on the right side should correctly show the new text "Longer_Line_2". SOFTWARE VERSIONS (available in About System) KDE Plasma Version: 5.13.5 KDE Frameworks Version: 5.50.0 Qt Version: 5.11.1 ADDITIONAL INFORMATION The used operating system is Kubuntu 18.10.
Created attachment 116087 [details] Screenshot showin the truncated text
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
The bug is still present. While testing, I realized that the initial description to reproduce the bug is slightly wrong. The file contents should be as follows (the file on the left side should contain the longer line): File1.txt: Line_1 Longer_Line_2 Line_3 File2.txt: Line_1 Line_2 Line_3