Version: 3.4 (using KDE 3.5.9) Installed from: Gentoo Packages Compiler: gcc version 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10) built from emerge kde OS: Linux The algorithm the kompare is using is either buggy or there are some pointer problems somewhere. I had to lists of students in alphabetical oder from two different semesters. One had five lines less than the other, One had 14 different names, the other had 9. When I did a kompare on the two lists, it showed only 3 different lines, 1 changed, 1 added, and 1 deleted. And it said both files are of the same length. I did this running kompare from the command line (kompare file1 file2). If I do in the other way around, I get the same behavior, except the files are now only 1 line different and they are the shorter length. If I select the files using the GUI I get the same thing. I've tried turning off all options, same behavior. diff, of course gives me a much different picture. I then put together two show files ------------------------- cut ------------------------- different line 1 file 2 common line common line different line 2 file 2 common line common line different line 3 file 2 ------------------------- cut --------------------------- different line 1 file 1 common line common line different line 2 file 1 common line common line different line 3 file 1 ------------------------- cut ---------------------------- This is a much simpler case, only 3 changed lines and 4 unchanged lines. Here kompare gives me that the first line only is changed and it shows nothing in line one of the second file. The second file is also a copy of the first file, regardless of what order I do the kompare. I am running the laters version of kde available through emerge in gentoo might be related to bug 75917 (very old bug)
Kompare on KDE 4.2 works fine with your test case. Is this bug still valid?
It also works for me with trunk so i am closing this as fixed. Besides KDE 3.5.x will no longer be released (at least i will not release versions for KDE 3 anymore) so i can only suggest to compile a newer version of KDE. If you find that it still fails then reopen the bug and please give me a test file that shows the problem because these 2 work just fine.