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

Bug 30316

Summary: Switching back to manifest editor loses focus
Product: [Eclipse Project] PDE Reporter: Nick Edgar <n.a.edgar>
Component: UIAssignee: Dejan Glozic <dejan>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 Keywords: accessibility
Version: 2.1   
Target Milestone: 2.1 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Nick Edgar CLA 2003-01-27 12:44:09 EST
build I20030115

- open a plugin.xml file in the manifest editor
- switch to the source page
- position the text cursor somewhere in the source
- activate another view, e.g. the Navigator.
- click on the editor tab for the manifest editor
- the text cursor is not visible
- use the up/down arrow keys
- it changes in the Navigator, not the editor

Need to delegate IWorkbenchPart.setFocus to the right page.
Comment 1 Nick Edgar CLA 2003-01-27 12:44:29 EST
This is important for accessibility.
Comment 2 Dejan Glozic CLA 2003-01-27 12:58:19 EST
I have fixed this in HEAD but noticed an unwanted problem: when double-clicking 
on the marker in the Tasks view, the editor opens, switches to the Source page 
and immediately steals focus from the Tasks.
Comment 3 Nick Edgar CLA 2003-01-28 10:50:41 EST
This is OK.  In the default open strategy, the editor should be activated when 
double-clicking on a task.  Compare with a plain editor.
Comment 4 Dejan Glozic CLA 2003-02-20 15:34:19 EST
Fixed - selecting a marker now does not switch focus to the source page (only 
opening i.e. double-click).