Bug 20451 - [CVS Sync View] Comparison views: Java source/Java structure vs. plain structure not in sync.
Summary: [CVS Sync View] Comparison views: Java source/Java structure vs. plain struct...
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-VCM-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-06-17 10:25 EDT by Andreas Krüger CLA
Modified: 2005-05-09 13:47 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Krüger CLA 2002-06-17 10:25:24 EDT
After some changes, I do a "synchronize with repository".  Only outgoing
changes. Good.

Now I have a last look at my work, before pushing it to CVS, using the view
"Synchronize / Outgoing Mode".  I have asked Eclipse to allways show me the
results of structural compare in my preferences.  So what I get is the three
subwindows "Structure compare", "Java structure compare", and "Java source
compare".  And of course, Java source compare shows me my changed file and the
repository version.

I have two pairs of white "up down" - arrows to choose from to navigate from one
change to the next.  The "global" one is in the menu bar of the "Sychronize /
Outgoing Mode" view.  I've come to expect, with F2, that this pair of arrows
moves me from one file to the next.  The second one is in the "Java structure
compare" and should has thus far moved me within that file.

It doesn't work that way any more, and it does not work at all any more. 
Pressing the global arrows sometimes moves me to the next error within the Java
file.  Until I reach the end of that Java file.

At that point, the semantic of the global arrows change.  Now, a hit to the
"next" arrow moves me to the next source - but only in the plain "structure
compare".  The Java source compare and the Java structure compare remain on
whereever they happened to be.  A second hit to the same arrow move me to the
next source still - and both Java views remain on the original, first source.

I can synchronize those Java by double clicking in the "Structure compare"
window.  That changes the global arrow semantics back to what I've described first.

This worked differently with F2.  I'm filing this bug against F3.

I'm not sure I liked the F2 behaviour too much.  It might be worth a
consideration to simply have only one pair of arrows and simply step from
difference to difference.  But at least, the F2 behaviour was comprehensible and
consistent.
Comment 1 Dirk Baeumer CLA 2002-06-17 11:59:20 EDT
Moving to Team for commenting...
Comment 2 Michael Valenta CLA 2002-08-22 14:22:18 EDT
The behavior I see in 2.0.1 with multiple outgoing changes to java source is 
the following:

1) Hitting the down arrow selects the first file in the Structure Compare 
window and the first change in the Java Source Compare. The Java Structure 
Compare for the proper file is shown but nothing is selected.

2) Hitting the down arrow again will select the next change in the Java Source 
Compare for the current file

3) When the last change in the current file is reached, the down arrow then 
selects the first change in the Java Structure Compare pane and the Java Source 
Compare shows just the element in question.

4) Hitting the down arrow again will select the next change in the Java 
Structure Compare for the current file

5) When the last entry in the Java Structure Compare is reached, the next file 
is the Structure Compare is selected and the cycle repeats itself.

It is strange that you would cycle through the same file twice (one in the Java 
Source Compare and then once in the Java Structure Compare) but other than that 
the forward and back buttons worked and the panes updated properly. 
Comment 3 Michael Valenta CLA 2005-05-09 13:47:09 EDT
The 3.0 sync view has changed considerably so this may no longer be valid.