Bug 460745

Summary: CTabFolder layouts ALL children when a parent container request layout(true,true)
Product: [Eclipse Project] Platform Reporter: Thomas Schindl <tom.schindl>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov, daniel_megert, klara.ward, Lars.Vogel, loskutov, marcus, nikita, paul-eclipse, philippe.marschall, pwebster
Version: 4.5Keywords: helpwanted, performance
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=460744
Whiteboard:
Attachments:
Description Flags
Sample none

Description Thomas Schindl CLA 2015-02-24 17:53:31 EST
Although it looks like this has been like this forever it makes no sense at all that CTabFolder layouts invisible children when someone calls layout(true,true) on a parent container.

Unfortunately CTabFolder is unable to intercept at the moment the updateLayout() recursion in Composite because this method is package protected nor does it allow to excluding children from the recursion.

The situation is getting even worse because of the new invalid behavior of CTabFolder which does such a force layout(true,true) on all siblings. See 460744
Comment 1 Thomas Schindl CLA 2015-02-24 17:54:31 EST
Created attachment 251077 [details]
Sample
Comment 2 Alexander Kurtakov CLA 2015-03-26 09:45:11 EDT
Thomas, the referenced bug had a patch which is pushed. If there is a patch for this one I would review.