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

Bug 338470

Summary: [Trim] Minimized stacks break lazy loading rules
Product: [Eclipse Project] Platform Reporter: Eric Moffatt <emoffatt>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: RESOLVED FIXED QA Contact: Eric Moffatt <emoffatt>
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: candidate43

Description Eric Moffatt CLA 2011-02-28 16:04:42 EST
We are currently using the 'visible' flag to control which MToolControls (representing minimized stacks) get shown to the user. However, this approach means that all minimized stacks (regardless of the perspective they're in) get renderered on startup.

The obvious fix is to move away from using the 'visible' flag for the MTC's and use the TBR flag instead. This should be OK since the TrimStack is not really that expensive to re-create as needed...
Comment 1 Eric Moffatt CLA 2012-06-07 14:08:33 EDT
Just checked this with 4.2RC4 and it's not as bad as I had thought. The only parts that get rendered are those in the current perspective's minimized stacks. If you have minimized stacks in other perspectives their parts don't render until the perspective becomes active.

I would argue that this is correct behavior. The views are supposed to act just as if they were being displayed in the presentation so not having them render on startup would result in potentially strange behavior...
Comment 2 Eric Moffatt CLA 2013-10-21 14:53:54 EDT
As long as it's only the 'selected' item in the minimized stack that gets rendered then this bug should be closed as FIXED.
Comment 3 Eric Moffatt CLA 2014-07-08 14:04:27 EDT
As per the last comment..