Bug 136698 - [Preferences] Cannot resize sash using keyboard
Summary: [Preferences] Cannot resize sash using keyboard
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: 3.4 M7   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility, helpwanted
Depends on:
Blocks:
 
Reported: 2006-04-13 13:50 EDT by Randy Hudson CLA
Modified: 2008-04-30 13:16 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Hudson CLA 2006-04-13 13:50:48 EDT
Is there a way to make the tree wider in the preference dialog using keyboard?
Comment 1 Sebastian Davids CLA 2006-04-20 15:44:35 EDT
This is a general problem w/ Sash and SashForm.

Launch Configuration dialog shares the same problem.
Comment 2 Steve Northover CLA 2007-03-24 11:00:18 EDT
If a sash is given focus, then you can resize it with the keyboard.  Normally, sashes do not take focus when you click on them and do not take part in traversal.  Moving to UI.
Comment 3 Tod Creasey CLA 2008-04-09 12:43:07 EDT
Is this just a matter of adding a traverse listener to the sash?
Comment 4 Carolyn MacLeod CLA 2008-04-09 14:07:07 EDT
Sorry - no. Sash doesn't get traverse events because it doesn't take focus.

To believe this, run ControlExample and add Traverse and KeyDown events to the Sashes on the Sash tab. Then make sure both events return doit=true (new feature of ControlExample lets you control the doit by selecting the event in the Event Listeners dialog and clicking the Edit Event button). You can also add a MouseDown event so you can see the Sashes responding to those.

Sash won't take focus, no matter how hard you try. MouseDown events occur as expected, but no key or traverse events.
Comment 5 Tod Creasey CLA 2008-04-09 19:24:09 EDT
So this should be closed as WONTFIX then correct as it is an OS limitation?
Comment 6 Carolyn MacLeod CLA 2008-04-10 11:57:25 EDT
I will leave that up to Steve. Forcing keyboard focus to go to Sashes is a strange thing to do, and I am not sure it is possible on all platforms, but maybe...  :)

FYI, it is actually possible to move the sash with the keyboard using a screen reader. Of course, one would have to purchase a screen reader (or use a Mac, which comes with a screen reader). The exact key sequences to move a sash vary from screen reader to screen reader, however most (all?) screen readers allow a user to perform drag & drop operations by moving the mouse to the correct location with arrow keys, marking the start of the drag with a specific key sequence, moving the mouse again with arrow keys to the destination, and then typing the "drop" key sequence. I verified that I can do this in Window-Eyes, and I see that JAWS also has drag & drop capability.
Comment 7 Tod Creasey CLA 2008-04-22 14:51:09 EDT
Fixed in build >20080422
Comment 8 Tod Creasey CLA 2008-04-22 14:52:17 EDT
FYI the fix was done local to the preferences dialog rather than generally throughout the workbench
Comment 9 Tod Creasey CLA 2008-04-29 10:00:00 EDT
Verified in I20080229-0100
Comment 10 Tod Creasey CLA 2008-04-29 15:56:05 EDT
Reopening - we should include the color changes we use for sash resizes elsewhere in the workbench 
Comment 11 Tod Creasey CLA 2008-04-29 16:26:21 EDT
Fixed for build >20080429
Comment 12 Tod Creasey CLA 2008-04-30 13:16:27 EDT
Verified in I20080430-0100