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

Bug 398113

Summary: browser location bar interferes with modal behavior tabbing through dialogs
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: ClientAssignee: Susan McCourt <susan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon, Szymon.Brandys
Version: 0.5   
Target Milestone: 2.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Susan McCourt CLA 2013-01-14 13:25:08 EST
when tabbing through a modal dialog, the browser bar takes focus and after that, tabbing into the dialog only goes to one control.
Comment 1 Susan McCourt CLA 2013-01-15 15:29:52 EST
The problem is that we don't get a blur event when the browser bar takes focus, so we can't force it back to the dialog.

I added code to capture the TAB key on the last tabbable field of a modal and prevent focus from leaving.  Instead it puts focus on the first tabbable field.

I considered handling SHIFT-TAB but the default behavior there seems okay.  Focus goes from the first field to the closebox but then it can't go any further.  So I left this alone.

Fixed in
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=9d960ef3fe264f4e26c4079e77c52490722701fa