Bug 211062

Summary: Improve interactivity making swap source and destination easier
Product: [Applications] kompare Reporter: Ismael Barros <razielmine>
Component: generalAssignee: Kompare developers <kompare-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: 4.0.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ismael Barros 2009-10-19 12:02:01 UTC
Version:           4.0.0 (using 4.3.2 (KDE 4.3.2), Chakra KDE)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31-ARCH

I'm trying to merge two branches of a project with kompare, but I find its behavior very awkward for this task.

Currently, you have a "source" and a "destination" versions of each tree, and you can only apply changes from the first one to the second one. If you want to invert the files, you have to go "File->Swap source and destination", but that makes you lose the position on the file you were working on, and the status of the file tree gets reseted. This is unacceptable if you constantly have to move changes from A to B and from B to A.

With vimdiff, for example, this is much easier. You have a left buffer and a right buffer, and the source buffer will always be the one the cursor is on. Also, you can move from source to destination with :diffput, and from destination to "source" with :diffget. This behaviour is much more flexible.

If implementing vimdiff behaviour is impossible or undesirable to implement, it would be really nice to at least make it so I don't lose the position of the file I'm working on when switching source and destination, or when refreshing the diffs with F5.