[kompare] [Bug 343526] New: Only last 4 digits of line numbers are shown for source file

Joachim Wagner jwagner at computing.dcu.ie
Thu Jan 29 14:42:31 UTC 2015


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

            Bug ID: 343526
           Summary: Only last 4 digits of line numbers are shown for
                    source file
           Product: kompare
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: viewpart
          Assignee: kompare-devel at kde.org
          Reporter: jwagner at computing.dcu.ie

When viewing a patch file with about 5,000 lines produced with "diff -U 5" for
a pair of files with about 40,000 lines, the left file display shows only the
last 4 digits of the line number while the right view shows all 5 digits.

Reproducible: Always

Steps to Reproduce:
1.open patch file
2.choose in the top-right selection box a range with 5 digit line numbers
3.observe bug in line number column of the lower-left box

Actual Results:  
The line number column of the bottom-left box shows only up to 4 digits of the
line number. These seem to be the right-most digits of the line number.

Expected Results:  
The line number column should automatically expand to 5 and more columns as
needed.

The view for the right (target file) does this correctly, at least for 5 digit
line numbers (didn't test 6 digits).

Workaround: Only memorise last 4 digists from top-right box when trying to
locate ranges in the bottom-right.

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


More information about the Kompare-devel mailing list