Bug 307117 - No output when comparing two different files
Summary: No output when comparing two different files
Status: RESOLVED NOT A BUG
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: 4.1.2
Platform: Chakra Linux
: NOR major
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 19:37 UTC by Adrián Chaves (Gallaecio)
Modified: 2012-09-21 04:44 UTC (History)
0 users

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 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.