[Bug 159939] New: Files/Directories tree view in Kompare is not correct in some case when reading diff

Patrick ALLAERT patrick.allaert at gmail.com
Thu Mar 27 09:06:24 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159939         
           Summary: Files/Directories tree view in Kompare is not correct in
                    some case when reading diff
           Product: kompare
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: navigationpart
        AssignedTo: kompare-devel kde org
        ReportedBy: patrick.allaert gmail com


Version:            (using KDE 4.0.2)
Installed from:    Gentoo Packages
OS:                Linux

The tree presenting the files and directories is most of the time wrongly created.

Lets have the following tree on the file system:

ROOT/
    A/
    B/

If you have no differences directly into ROOT (but in A/ and B/, cfr. buggy2.diff) you will see a tree like:

ROOT/A/
    ROOT/
        B/

This is also true if you have differences directly into ROOT but that comes after differences from A/ and B/ (cfr. buggy1.diff)

The tree is correctly rendered only if differences exist directly into ROOT and coming BEFORE differences from A/ and B/ (cfr. correct.diff)

To reproduce:

kompare correct.diff
kompare buggy1.diff
kompare buggy2.diff


More information about the Kompare-devel mailing list