| Summary: | FXCanvasEx should forward SWT KeyEvent.doit to JavaFX KeyEvent.consumed. | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Alexander Nyßen <nyssen> |
| Component: | GEF FX | Assignee: | Alexander Nyßen <nyssen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | matthias.wienand |
| Version: | 0.2.0 | ||
| Target Milestone: | 5.0.0 (Oxygen) M2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Alexander Nyßen
The related JavaFX-bug is https://bugs.openjdk.java.net/browse/JDK-8159227. I implemented a workaround within FXCanvasEx so that the consumption state of key events is properly forwarded to the embedded JavaFX scene. Pushed all changes to origin master. Resolving as fixed in 5.0.0 M2. I added queues for storing the key events to account for asynchronous event forwarding from SWT to JavaFX and added code so that the DeleteActionHandler sets the event.doit=false so that the corresponding event is not processed by GEF policies. |