Create two example files to reproduce the bug: a.txt: 1a 2a - new line inserted here - - new line inserted here - - new line inserted here - - new line inserted here - 3a 4a 5a - modified - 6a - modified - 7a - modified - 8a b.txt: 1a 2a 3a 4a 5a 6a 7a 8a Then compare them: kompare a.txt b.txt Apply the first difference (inserted lines). Line numbers will be wrong in the target file. Apply the second difference (modified lines). Line numbers of modified lines will be copied from the source file (a.txt). This behaviour causes very strange line numbering in the target file. This bug is usually harmless, but causes problems when you try to remember positions by target line numbers to be able to do changes later. You will easily write down wrong line numbers and will not be able to locate these positions in the merged target file in the source code editor later. This is especially flustrating when merging fixes between code bases of similar applications. In my opinion, kompare should renumber target lines after applying each difference from the source file and ensure that line numbers are continuous as usual. The difference graphics will show the source of such lines, so copying source line numbers is rather a wrong idea than a feature.
Hi, The Debian Qt/KDE team is trying to update the bug status of some old bugs in the BTS, and I'm helping with this task. Some time ago, you've reported bug number 364881 "Kompare displays wrong line numbers in target file after applying a change" to Debian's Bug Tracking System. You can read the bug report at: http://bugs.debian.org/364881 We are sorry if nobody responded when you filed the bug, KDE has gotten more bugs in the past years than the maintainers could handle. The team is trying to fix this now, but we need your help. So please respond to this mail and tell us if: - you are still experiencing this bug (adding in what version) - the bug was already fixed (if known, in which version), - or if you have extra information on how reproduce this bug. Thank you for your cooperation! Olivier Vitrat helper for the Debian Qt/KDE team
Hi, The Debian Qt/KDE team is trying to update the bug status of some old bugs in the BTS, and I'm helping with this task. Some time ago, you've reported bug number 364881 "Kompare displays wrong line numbers in target file after applying a change" to Debian's Bug Tracking System. You can read the bug report at: http://bugs.debian.org/364881 We are sorry if nobody responded when you filed the bug, KDE has gotten more bugs in the past years than the maintainers could handle. The team is trying to fix this now, but we need your help. So please respond to this mail and tell us if: - you are still experiencing this bug (adding in what version) - the bug was already fixed (if known, in which version), - or if you have extra information on how reproduce this bug. Thank you for your cooperation! Olivier Vitrat helper for the Debian Qt/KDE team
Hi, This bug exists if nobody has changed the line numbering scheme of the target file since my report. I included the exact way to reproduce this bug in my report, so a developer can do that. I don't use Kompare anymore, so I wasn't affected by this bug anymore. Viktor