[kompare] [Bug 400674] New: Long lines truncated after applying change

Wolfgang Wallner bugzilla_noreply at kde.org
Sun Nov 4 17:37:13 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=400674

            Bug ID: 400674
           Summary: Long lines truncated after applying change
           Product: kompare
           Version: 4.1.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: viewpart
          Assignee: kompare-devel at kde.org
          Reporter: wolfgang-wallner at gmx.at
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kompare-devel mailing list