Bug 307117

Summary: No output when comparing two different files
Product: [Applications] kompare Reporter: Adrián Chaves (Gallaecio) <adrian>
Component: generalAssignee: Kompare developers <kompare-devel>
Status: RESOLVED NOT A BUG    
Severity: major    
Priority: NOR    
Version: 4.1.2   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In:

Description Adrián Chaves (Gallaecio) 2012-09-20 19:37:19 UTC
I was doing a bit of bug triagging, when suddenly I stumbled upon the fact that (my installation of) Kompare is not able to display the differences between two files. It does work with patches, but as soon as I provide the path to two different files, it just provides an empty “diff view”.

Reproducible: Always

Steps to Reproduce:
1. Create a plain text file with the following content, and save it as “test1.txt”:
Line1
Line2
Line3

2. Create another plain text file with the following content, and save it as “test2.txt”:
Line1
LineB
LineIII

3. Open Kompare, and select “Files” in the left-side panel (default).
4. Provide the paths to those two files, one as Source and the other one as Target, and click “Compare” at the bottom of the dialog.
Actual Results:  
Kompare displays an empty diff view.

Expected Results:  
The differences between the files, which are the lines 2 and 3, should be displayed in a diff view.

Version is 4.2.1, not listed in the reporting form combobox.
Comment 1 Christoph Feck 2012-09-20 21:28:52 UTC
Can you check if the "diff" program specified at the "Diff" tab of the startup window is setup correctly?
Comment 2 Adrián Chaves (Gallaecio) 2012-09-21 04:44:22 UTC
Thank you! It was a path to a diff file… (which I obviously wrote myself there at some point)

Replaced it with «diff» and everything works file. Resolving as invalid.

Again, thanks.