Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 68250

Summary: Throwing Focus to the EditorPart
Product: [Eclipse Project] Platform Reporter: Randy Hudson <hudsonr>
Component: TeamAssignee: Michael Valenta <Michael.Valenta>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 Keywords: accessibility
Version: 3.0   
Target Milestone: 3.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Randy Hudson CLA 2004-06-22 18:29:59 EDT
Enable "Single click opens" option under workbench preferences.
Select on the same resource over and over (slowly) in the synchronize view.  
Every time you select, focus is thrown to the editor.  This makes it hard to 
use the keybindings in that view because it doesn't stay active.

Now try the same thing using ENTER.  Simply opening the outgoing change throws 
focus to the Editor.  This makes it hard to look at a bunch of changes using 
the keyboard only.  You must use CTRL+F7 to keep switching back to the View.
Comment 1 Randy Hudson CLA 2004-08-11 11:58:08 EDT
I am increasing the severity. The effect of throwing focus when the synchronize 
view is a fast view is that the fast view is hidden.  This makes it really hard 
to glance at multiple incoming/outgoing changes.

Please consider fixing for 3.0.x
Comment 2 Andre Weinand CLA 2004-08-11 13:38:54 EDT
It seems that the argument "keepfocus" of method 
OpenInCompareAction.openCompareEditor(...)
in package org.eclipse.team.internal.ui.synchronize.actions controls this behavior.
Currently it is always false. Setting it to true fixed the problem for me.

Moving to Team for comment.
Comment 3 Michael Valenta CLA 2004-08-16 14:46:09 EDT
This is an easy fix.
Comment 4 Michael Valenta CLA 2004-08-16 14:49:22 EDT
I have changed the open to use the OpenStrategy.activateOnOpen() hint. The fix 
has been released to both 3.1 and 3.0.1.
Comment 5 Jean-Michel Lemieux CLA 2004-09-09 13:26:52 EDT
verified in rc2