Version: (using KDE 3.5.9) OS: Linux Installed from: Ubuntu Packages The diff text is repeated in the window and when you merge the text the repeated pattern ends up in the file too See shot (hopefully). Here you can see the text: { WCHAR szSsid[33]; repeated twice in the diff, but the original files do not have this.
Created attachment 26946 [details] shot of kompare showing the corrupted diff and the original text I have a larger shot showing the complete desktop and can supply the files on request.
Hi, can you try to reproduce using the KDE 4 version?
This is not going to be easy as I don't use KDE4 due to missing functionality. Also the files are no longer available.
I actually worked around this by using KDiff3 which in some ways is better. This could be a suggested workaround for anyone else seeing this. It also seemed to be specific to that machine/network.
I'm sure this is still in there. I'm not sure what causes it but i have experienced it myself. It comes from blending but i can not put my finger on the sore spot yet.
This is still valid at least as of kde 4.13 (I will attach example files tomorrow). If nobody fixes such huge bug for 7 years, probably it'd be better to somehow deprecate this tool in favor of kdiff3?
I don't remember ever having run into this. And unfortunately, the bug report does not contain the files reproducing the issue. Do you have any that you can attach?
Created attachment 94340 [details] test file 1
Created attachment 94341 [details] test file 2
If you compare file 2 and 1 (kompare f2 f1), you will see the problem, hopefully. The other way around (kompare f1 f2) works fine...
Thank you for the reproducers. So you are talking about the "rm -rf $RPM_BUILD_ROOT" in the %clean section?
Created attachment 94364 [details] redundant stuff in f2 f1 diff
I added what I see - there whole f2 file is repeated on both sides after the last line(s).
Maybe it's a bit different issue than the OP specified, but maybe it also comes from the same source?
I don't see this happening here on Fedora 21, Kompare from KDE Applications 14.12.3.
I found that the option 'Preferences/Diff/Options/Ignore added or removed empty lines' causes this, in my case.