Bug 42151 - [KeyBindings] Some key bindings don't appear in menus when Eclipse first started
Summary: [KeyBindings] Some key bindings don't appear in menus when Eclipse first started
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Chris McLaren CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-27 12:19 EDT by Douglas Pollock CLA
Modified: 2003-09-12 13:54 EDT (History)
2 users (show)

See Also:


Attachments
Workbench patch (755 bytes, patch)
2003-09-03 11:50 EDT, Douglas Pollock CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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