Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338470 - [Trim] Minimized stacks break lazy loading rules
Summary: [Trim] Minimized stacks break lazy loading rules
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Eric Moffatt CLA
URL:
Whiteboard: candidate43
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-28 16:04 EST by Eric Moffatt CLA
Modified: 2014-07-08 14:04 EDT (History)
1 user (show)

See Also:


Attachments

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