Bug 81667

Summary: FigureCanvas computeSize() causes FlowPage to be validated multiple times
Product: [Tools] GEF Reporter: Randy Hudson <hudsonr>
Component: GEF-Legacy Draw2dAssignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: nyssen
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Randy Hudson CLA 2004-12-20 13:51:09 EST
Asking a flowpage for its preferred size (before an update begins) causes it to 
add itself to the invalid figures.  Then, the FigureCanvas gets sized, which 
adds the root figure to the invalid figures. Next, the FlowPage restores its 
old recommended width first, then the root gets resized, and the flowpage must 
layout again.  It's pretty wasteful.

Possible fixes:
- don't use updatemanager's invalid figures or
- sort invalid figures prior to processing them. Partial ordering would be if 
a.contains(b), then a < b.