Bug 460745 - CTabFolder layouts ALL children when a parent container request layout(true,true)
Summary: CTabFolder layouts ALL children when a parent container request layout(true,t...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.5   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted, performance
Depends on:
Blocks:
 
Reported: 2015-02-24 17:53 EST by Thomas Schindl CLA
Modified: 2019-12-17 14:10 EST (History)
10 users (show)

See Also:


Attachments
Sample (1.89 KB, text/x-java-source)
2015-02-24 17:54 EST, Thomas Schindl CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.