| Summary: | AbstractPolicy#disableRefreshVisuals() does not change the parts refreshVisual state. | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Alexander Nyßen <nyssen> |
| Component: | GEF MVC | Assignee: | Alexander Nyßen <nyssen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Alexander Nyßen
AbstractPolicy#disableRefreshVisuals() does not set the refreshVisual state of the given part, even if the name of the operation implies this, while enableRefreshVisual() sets the state. We should ensure that disableRefreshVisuals() really disables the refresh state. Furthermore, the name of enableRefreshVisuals() does not seem appropriate, as it will simply restore the refreshVisual state that was captured by disableRefreshVisual(). As such, we should rename both operations to properly indicate that a state is persistent and restored, e.g. into storeAndDisableRefreshVisual() and restoreRefreshVisual() Fixed that #disableRefreshVisuals() did not affect the refreshVisual state of the given part. Adopted FXRelocateOnDragPolicy to rely on this new behavior. Resolving as fixed in 3.10.1 RC2. |