| Summary: | Prevent unintended nested graph layout bounds changes. | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Matthias Wienand <matthias.wienand> |
| Component: | GEF Zest | Assignee: | gef-inbox <gef-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.2.0 | ||
| Target Milestone: | 5.0.0 (Oxygen) M4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Matthias Wienand
I was able to find the cause for the unintended layout-bounds changes: When NodePart is refreshed, CSS properties like CSS classes, CSS id, and CSS style are set to their values without checking if they really need to be updated. However, changing the CSS properties leads to a CSS and layout pass that is performed by JavaFX on the next pulse. To prevent the unnecessary changes, I guarded the setters so that the values are only changed if they need to be updated. The code is published on the master branch, therefore, I resolve this ticket as fixed for 5.0.0 M4. |