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

Bug 347854

Summary: [KeyBindings] Can't use Delete key as a keybinding
Product: [Eclipse Project] Platform Reporter: Cezar Lenci <cezar_cps>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Cezar Lenci CLA 2011-05-31 15:34:42 EDT
Build Identifier: 20100917-0705

The NewKeysPreferencePage (package org.eclipse.ui.internal.keys) uses a KeySequenceText to filter keystrokes and display them as accelerators in the keybinding field. 
The KeySequenceText (package org.eclipse.jface.bindings.keys) uses a KeyTrapListener to trap some keys used to edit the contents of the KeySequenceText, including SWT.DEL.
Because of this, I think SWT.DEL should be added to KeySequenceText.TRAPPED_KEYS, so it would show on the popup menu next to the binding field on the Keys preference page.


Reproducible: Always

Steps to Reproduce:
1.Go to menu Window -> Preferences -> General (preference page) -> Keys (preference page)
2.Select any command
3.Try to change its binding to "Delete" key
Comment 1 Dani Megert CLA 2011-06-01 02:36:46 EDT

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