Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331360 - [General] Papyrus Keybindings consume keyPress events, even if no Papyrus editor is active
Summary: [General] Papyrus Keybindings consume keyPress events, even if no Papyrus edi...
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-29 12:22 EST by Alexander Nyßen CLA
Modified: 2011-07-27 04:56 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Nyßen CLA 2010-11-29 12:22:33 EST
The Papyrus keybindings for SWT.CTRL + SWT.ARROW_LEFT or CTRL + ARROW_RIGHT seem to consume the respective keypress events on SWT.KeyDown, even if no Papyrus editor is opened.

To reproduce, you may use the GEF logic editor example. In case the Papyrus key-binding is disabled, the editor receives the CTRL + SWT.ARROW_LEFT and CTRL + SWT.ARROW_RIGHT events and uses it to traverse edit parts in the viewer. In case the Papyrus keybinding is active, the respective keypress event does not reach the FigureCanvas in the LogicEditor (I debugged that keyPressed is not called and only keyReleased is forwarded), as the event seems to be consumed before.
Comment 1 Vincent Lorenzo CLA 2011-01-05 10:53:53 EST
Currently, if you want to have the correct behavior with GEF, you can go to the Eclipse Preferences ->  General -> Key. 
Here you search the Align Left (or Right) Command and in the field When :  "In Windows", replace "In Window" by Diagram Editing. 
Thank you for the bug.
Comment 2 Vincent Lorenzo CLA 2011-01-05 10:57:29 EST
Done in R3612 : Context Added for each keybinding
Comment 3 Vincent Lorenzo CLA 2011-07-11 04:42:44 EDT
Can I closed this bug?
Comment 4 Vincent Lorenzo CLA 2011-07-27 04:56:01 EDT
This bug can be marked as closed.