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

Bug 365759

Summary: Key bindings imported from preferences are not always immediately applied
Product: [Eclipse Project] Platform Reporter: Brian de Alwis <bsd>
Component: UIAssignee: Remy Suen <remy.suen>
Status: VERIFIED FIXED QA Contact: Remy Suen <remy.suen>
Severity: normal    
Priority: P3 CC: daniel_megert, remy.suen
Version: 4.2   
Target Milestone: 4.2 M6   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch none

Description Brian de Alwis CLA 2011-12-06 11:08:28 EST
Version: 4.2 (for M4)
BuildId: I20111205-2330

If you import a preferences that includes key bindings, some bindings are not applied.  In particular, I bind File > Import to Ctrl-Cmd-I (on the mac), and it never takes effect until I restart.

I suspect the problem may be the same as bug 365724 comment 3, ultimately that the menu item is from an MMenuContribution.
Comment 1 Remy Suen CLA 2012-02-29 12:49:29 EST
It does show up in the 'Keys' preference page though.
Comment 2 Remy Suen CLA 2012-02-29 14:55:34 EST
Created attachment 211835 [details]
Patch

When the BindingPersistence is asked to reread (when a preference changes), persist the information to the model after the reading process has completed.
Comment 4 Dani Megert CLA 2012-03-13 06:59:27 EDT
Verified in 4.2-I20120312-1730.