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

Bug 110232

Summary: [KeyBindings] preference page: adding keybinding removes keybinding from more specific context
Product: [Eclipse Project] Platform Reporter: Randy Hudson <hudsonr>
Component: UIAssignee: ali sheraz <ali_sheraz>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pwebster
Version: 3.1   
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 176235    
Bug Blocks:    
Attachments:
Description Flags
Binding Manager v01 none

Description Randy Hudson CLA 2005-09-21 14:58:26 EDT
I want to define CTRL+RIGHT to be "Navigate/Go Into" in the windows scope.
When I do this, "Text/Next Word" in the "Editing Text" scope gets removed. This
shouldn't happen, since that scope is more specific and overrides the
keybinding, which is what I would want.

The workaround is to go back to the "Next Word" command and re-add its original
binding.
Comment 1 Michael Van Meekeren CLA 2006-04-21 13:14:31 EDT
Moving Dougs bugs
Comment 2 Paul Webster CLA 2006-09-28 15:15:29 EDT
Is this still a problem in 3.3?

PW
Comment 3 Randy Hudson CLA 2006-09-28 16:57:55 EDT
yes
Comment 4 Paul Webster CLA 2007-04-24 21:16:37 EDT
Created attachment 64811 [details]
Binding Manager v01

The code that was supposed to build a list of all keybindings would remove any SYSTEM keybindings that it found first.

PW
Comment 5 Randy Hudson CLA 2007-04-25 10:01:55 EDT
I recently re-encountered this bug and nearly opened a dupe of myself. The reason this is so annoying is that the conflict is often assumed but doesn't really exist. The example mentioned here already shows thi. "Go Into" is never enabled at the same time as "Next Word", yet the preference page assumes a conflict based on context inheritance, and re-maps the existing binding.
Comment 6 Paul Webster CLA 2007-04-30 14:12:27 EDT
Already in I build.
PW
Comment 7 Randy Hudson CLA 2007-04-30 15:24:42 EDT
Does the solution also handle the scenario where the two contexts are orthogonal?
Comment 8 Paul Webster CLA 2007-04-30 18:43:50 EDT
Now adding a keybinding will only remove the system keybinding with the same command in the same scope.

PW
Comment 9 Paul Webster CLA 2007-05-01 08:15:58 EDT
In I20070501-0010
PW