Community
Participate
Working Groups
In build 2002-02-14, I selected a project (from the packages view) and then I invoked the action Compare With > Repository Contents. Since it was a slow operation (an no busy indicator came up right away), I clicked on another workbench window. When the compare action was finally done, it opened the compare editor. However, it opened it in the last window I had given focus to instead of the original window I invoked the Compare action from. The action should have enough context to know which window it was invoked from instead of calling IWorkbench.getActiveWorkbenchWindow.
*** Bug 17731 has been marked as a duplicate of this bug. ***
fixed for "Compare with Each Other" for I20030213 The CompareAction now opens the ComparEditorInput into a CompareEditor by calling CompareUI.openCompareEditorOnPage(fInput, fWorkbenchPage) instead of CompareUI.openCompareEditor(fInput) The other VCM Compare actions should probably do the same.
Moving to VCM
Fixed and released to HEAD. Although I have to admit that I wasn't able to reproduce. The progress dialog appears too quickly and I'm not quick enough to change to another workbench window :( So for those with quick mouse fingers, I've updated all VCM references to CompareUI.openCompareEditor() to CompareUI.openCompareEditorOnPage().