Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 431417

Summary: SpaceTreeLayoutAlgorithm is very slow with animations turned on
Product: [Tools] GEF Reporter: Zoltan Ujhelyi <zoltan.ujhelyi>
Component: GEF LayoutAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nyssen
Version: unspecified   
Target Milestone: 4.0.0 / 3.11.0 (Neon) M5   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Zoltan Ujhelyi CLA 2014-03-27 18:54:43 EDT
While working with bug 430851, I found that SpaceTreeLayout can be unreasonably slow. After some evaluation I found that it relates to animations turned on. I believe, it is the same thing experienced in the forum post: https://www.eclipse.org/forums/index.php/t/673977/
Comment 1 Zoltan Ujhelyi CLA 2014-03-27 18:56:52 EDT
I don't have time now to debug this further, but I change the defaults of the algorithm not to turn on animation, and report back on the forum with this workaround. However, I leave this issue open for a real fix in the future.
Comment 2 Alexander Nyßen CLA 2015-12-16 03:10:06 EST
As animation support should IMHO not be positioned inside layout at all, I pushed the following changes to origin/master:

- Removed animate option from SpaceTreeLayoutAlgorithm.
- Adjusted ILayoutContext.flushChanges() to no longer accept an animation hint (this was only used by SpaceTreeLayoutAlgorithm). Adopted all implementers.

Thereby resolving this as fixed in 3.11.0 M5.