| Summary: | Ensure FXCanvasEx does not accumulate SWT key down events when pressing and holding a key | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Matthias Wienand <matthias.wienand> |
| Component: | GEF FX | Assignee: | gef-inbox <gef-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Matthias Wienand
I simplified the relationship between unprocessed SWT key events and generated JavaFX key events. As soon as a JavaFX key event is dispatched, the corresponding SWT key event is directly removed from the list of unprocessed events. The last SWT key down event is cached so that its "doit" flag can be checked when dispatching a JavaFX KEY_TYPED event. The code is published on the master branch, therefore, I resolve this ticket as fixed for 5.0.0 M6. |