Bug 42151

Summary: [KeyBindings] Some key bindings don't appear in menus when Eclipse first started
Product: [Eclipse Project] Platform Reporter: Douglas Pollock <douglas.pollock>
Component: UIAssignee: Chris McLaren <csmclaren>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: douglas.pollock, Tod_Creasey
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Workbench patch none

Description Douglas Pollock CLA 2003-08-27 12:19:03 EDT
When Eclipse is opened without an editor open, some key bindings are not
initialized.  Losing and restoring focus on the window seems to set all of the
bindings.  Opening Eclipse with an editor already open seems to set all the
bindings as well.


STEPS TO REPRODUCE:
1.) Open Eclipse with no editors open.  (If editors are open, then close them
all and restart Eclipse so that no editors start open).
2.) Open a Java source file.
3.) Look at the Source menu.  Comment (amongst many others) is missing its key
binding.
4.) Switch to a different application (i.e., deactivate the window, take focus
away from the window).
5.) Return focus to the window.
6.) Look at the Source menu.  Command has its key binding now.

Opening Eclipse with an editor already open appears to correctly initialize the
key bindings on the menus.
Comment 1 Douglas Pollock CLA 2003-09-03 11:50:43 EDT
Created attachment 5959 [details]
Workbench patch

Makes sure that the menus are updated when a part is opened.  This may not be
the only place where menus could change, but the update is not performed.  For
consideration: perspective opened, page opened.
Comment 2 Tod Creasey CLA 2003-09-03 14:02:16 EDT
Patch submitted to HEAD.
Comment 3 Chris McLaren CLA 2003-09-12 13:54:56 EDT
fixed