Bug 151528 - When having a big block of changes, kompare does not display what was change
Summary: When having a big block of changes, kompare does not display what was change
Status: RESOLVED NOT A BUG
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: 3.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-29 20:59 UTC by Ido Kanner
Modified: 2009-01-04 19:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ido Kanner 2007-10-29 20:59:16 UTC
Version:           3.4 (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

When I have a block of changes, when one line for example changes the content, another line is added, and the line after the new line also have some changes, things appears as one block of changes without any indication what have changes at all.

POC:
Original:
3*1W<x>_Target-specific options (targets)
A*1W<x>_Target-specific options (targets)
P*1W<x>_Target-specific options (targets)
3*2Wb_Create a bundle instead of a library (Darwin)
P*2Wb_Create a bundle instead of a library (Darwin)
p*2Wb_Create a bundle instead of a library (Darwin)
3*2WB_Create a relocatable image (Windows)
A*2WB_Create a relocatable image (Windows, Symbian)

Old:
3*1W<x>_Win32-like target options
3*2WB_Create a relocatable image
3*2WB<x>_Set Image base to Hexadecimal <x> value

The result will be only that the whole block was changed, but nothing more.
Comment 1 FiNeX 2009-01-04 16:51:29 UTC
What do you expect? Can you provide a mockup of how it should behave?
Thanks. 

P.S: Please, try it on the new KDE 4 version.
Comment 2 Kevin Kofler 2009-01-04 19:18:59 UTC
I think the point here is that Kompare will only bolden individual changed characters on changes keeping the line count the same.

But this is normal, the Levenshtein comparison used works on lines, there's no way to guess which line is a changed version of which other line when the block is completely different. Computers are not humans and even less fortune tellers, sorry.