| Summary: | Keybindings are being sent to the wrong place | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Remy Suen <remy.suen> | ||||||
| Component: | UI | Assignee: | Project Inbox <e4.ui-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | blocker | ||||||||
| Priority: | P3 | CC: | ob1.eclipse | ||||||
| Version: | 1.0 | ||||||||
| Target Milestone: | 1.0 M6 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Remy Suen
Created attachment 167739 [details]
Workaround - not meant to be applied
Here is the temporary change to EclipseContext that fixes the problem.
(In reply to comment #1) > Here is the temporary change to EclipseContext that fixes the problem. Hmm... Nope, only works for the first editor. If a second editor is opened, the "DEL" keybinding tries to remove field/method. Created attachment 167813 [details]
Patch
The problem seem to be caused by incorrect information set in ISources for the active part's name.
The evaluation of handles for things like "DEL" and "Copy" trigered LegacyEditorActionBarExpression#evaluate() which expected active editor's id:
org.eclipse.jdt.ui.CompilationUnitEditor
but was getting instead:
org.eclipse.e4.ui.compatibility.editor
Patch appleid to CVS Head. |