Bug 17731

Summary: Compare with revision opens in wrong window
Product: [Eclipse Project] Platform Reporter: Veronika Irvine <veronika_irvine>
Component: CompareAssignee: Andre Weinand <andre_weinand>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Veronika Irvine CLA 2002-05-24 11:57:34 EDT
Eclipse F1

1) Have the Resource Perspective open in one window.
2) Select Window -> New Window and open the Debug perspective in the second 
Window.
3) In the debug perspective, open an editor on a java class in CVS.
4) From the Outline view, select Compare With ... -> Revision.
5) The compare editor opens in the editor area of the Resource perspective in 
the first window - would have expected it to open in the same window as the 
compare with action was invoked.
Comment 1 Erich Gamma CLA 2002-05-26 04:56:37 EDT
The scenario given below works for me. Compare only opens a compare editor, the 
management of editors and perspectives is done in Platform UI, moving there for 
investigations.
Comment 2 Veronika Irvine CLA 2002-05-28 11:43:10 EDT
One important step was missing from my scenario.

After step 4) click on the other window to give it focus.  Do this before the 
editor opens and the editor will open in the wrong window.

The same thing just happened to me with the Synchronize view.
Comment 3 Eduardo Pereira CLA 2002-08-06 15:36:12 EDT
Moving to Compare. It is probably getting the active window instead of getting 
the window from the outline or any other object in the first window.
Comment 4 Andre Weinand CLA 2003-02-10 09:18:52 EST

*** This bug has been marked as a duplicate of 10754 ***