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

Bug 361469

Summary: [ViewMgmt] Improve PartStack keyboard accessibility
Product: [Eclipse Project] Platform Reporter: Carolyn MacLeod <carolynmacleod4>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: jokester01au, markus.kell.r, pwebster
Version: 4.0Keywords: accessibility
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Carolyn MacLeod CLA 2011-10-19 16:01:17 EDT
This discussion was split off from bug 317465 comment 7.
We need to let keyboard users to move parts around, and change their size.

In 3.x, the Move and Size items in the part's context menu allowed the user to do a kind of fake drag and drop using the keyboard. Also, the New Editor menu item in an Editor Stack let the user do the equivalent of a ctrl+drag and drop, and the Fast View and Detached menu items in a View Stack let the user do the equivalent of dropping a View onto the fast view area or out of the window.

For eclipse 4.x, we should move these accessibility items back into the context menus where appropriate. However, we should first see what other applications are doing in each area. For example, Firefox allows the use of ctrl+arrows to move a focused tab item around within a browser (aka within a part stack). We could maybe do something similar.
http://support.mozilla.com/en-US/kb/Keyboard%20shortcuts#w_windows-tabs

As for moving to another part stack... instead of drawing a box and allowing arrow keys to move the part pixel by pixel, perhaps better to provide a submenu of places where the part could go. (This could even include Fast View and Detached, if 4.x still has those concepts).

Not sure whether we can do something similar for Size. The standard way to Size a window using the keyboard (i.e. on Windows, press alt+space to get the system menu, select Size, then use arrow keys or ctrl+arrows to adjust, and Enter to keep or Esc to cancel) should be followed as much as possible, however in this article: http://msdn.microsoft.com/en-us/library/ms971323.aspx#atg_keyboardshortcuts_interacting_with_ui_elements
they say "The Size command can be more powerful if done either logically or numerically" and they give an example in MS Excel.

The "New Editor" menu item should probably just go back into the tab item's context menu. It might be more consistent to call this "Duplicate Editor" (IE has a similar concept using the word Duplicate).
Comment 1 Eric Moffatt CLA 2012-10-09 13:27:38 EDT
We should at least try to do this for 4.2.2...
Comment 2 Paul Webster CLA 2013-01-11 14:02:55 EST
Defered to 4.3
Comment 3 Eclipse Genie CLA 2020-05-29 16:04:44 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.