| Summary: | The initial anchor positions for FXChopBoxAnchor are not computed correctly when using Java 8. | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Matthias Wienand <matthias.wienand> |
| Component: | GEF FX | Assignee: | Matthias Wienand <matthias.wienand> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.1.0 | ||
| Target Milestone: | 3.10.1 (Mars SR1) M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Matthias Wienand
In order to fix the problem, we could extend the VisualChangeListener, so that notifications are only send out when all related JavaFX properties are updated, i.e. register listeners for "bounds-in-local", "layout-bounds", and "bounds-in-parent" properties, and only send out the boundsChanged notification when all of these properties are changed. I added listeners for the "layout-bounds" and "bounds-in-parent" properties (additional to the "bounds-in-local" listener) and delayed sending of visual bounds change notifications until all of these properties are updated. The code is published on the master branch, therefore, I resolve this ticket as fixed for 3.10.1M1. |