Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347854 - [KeyBindings] Can't use Delete key as a keybinding
Summary: [KeyBindings] Can't use Delete key as a keybinding
Status: CLOSED DUPLICATE of bug 345372
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-31 15:34 EDT by Cezar Lenci CLA
Modified: 2011-06-01 02:36 EDT (History)
1 user (show)

See Also:


Attachments

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