Bug 178821 - [Schema Editor] Focus not set correctly
Summary: [Schema Editor] Focus not set correctly
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: Mike Pawlowski CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 12:01 EDT by Curtis d'Entremont CLA
Modified: 2007-03-26 15:11 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 Curtis d'Entremont CLA 2007-03-22 12:01:15 EDT
I20070321-0010

The schema editor should set keyboard focus to an appropriate control upon opening. Currently the focus goes to the first control on the page that will accept it. Due to bug 178704, the descriptions were being selected initially, causing the editor to look strange upon opening.
Comment 1 Mike Pawlowski CLA 2007-03-26 15:11:17 EDT
Fixed.  Patch released to HEAD.

Target:  3.3 M7
Patch:   patch_178821_2007-03-26_15-04.txt

Enhanced last focus control mechanism for all form editors.
When no focus control is set, fallback on the managed form selection 
mechanism by setting the focus on this page itself.
The managed form will set focus on the first managed part.
Most likely this will turn out to be a section.
In order for this to work properly, we must override the 
sections setFocus() method and set focus on a child control 
(preferrably first) that can practically take focus.