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

Bug 386997

Summary: Importing key bindings doesn't work
Product: [Eclipse Project] Platform Reporter: Sergei Stolyarov <sergei>
Component: IDEAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: asteiner, luoyonggang, pelder.eclipse, pwebster
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: candidate43
Attachments:
Description Flags
Example of modified preferences none

Description Sergei Stolyarov CLA 2012-08-10 06:20:16 EDT
Created attachment 219745 [details]
Example of modified preferences

How to reproduce:

1. Install standard Eclipse
2. Import attached settings file (it contains only key bindings)
3. New key binding don't work.

As I've found imported settings go into the file .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs but eclipse use another file for key bindings .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Comment 1 Paul Webster CLA 2012-08-13 15:30:05 EDT
We don't re-examine the keybindings in BindingService when the pref changes, must need to add a listener.

PW
Comment 2 Adam Steiner CLA 2012-12-13 12:19:44 EST
Just want to mention as a work around: If you restart your workspace after the import, the key bindings will work.
Comment 3 Paul Webster CLA 2013-04-02 10:37:21 EDT
*** Bug 397285 has been marked as a duplicate of this bug. ***
Comment 4 Paul Webster CLA 2013-04-04 10:19:13 EDT
This looks like a dup now of bug 266604 which was fixed beginning of March

PW
Comment 5 Paul Elder CLA 2013-04-05 16:49:52 EDT
This now works. Tested in 4.3.0.I20130402-0800. Marking as duplicate of bug 266604.

*** This bug has been marked as a duplicate of bug 266604 ***