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

Bug 327366

Summary: LazyStackRenderer does not correct shared references of parts if they're hidden
Product: [Eclipse Project] e4 Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Remy Suen <remy.suen>
Status: RESOLVED WONTFIX QA Contact: Eric Moffatt <emoffatt>
Severity: major    
Priority: P3    
Version: 1.0   
Target Milestone: 4.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 300742    
Attachments:
Description Flags
PartRenderingEngineTests tests patch v1
none
LazyStackRenderer patch v1 none

Description Remy Suen CLA 2010-10-08 16:49:07 EDT
The showElementRecursive(MUIElement, List<MUIElement>) method ignores parts with a TBR flag of 'false' and do not have their 'curSharedRef' feature redirected to the placeholder of the newly selected perspective.
Comment 1 Remy Suen CLA 2010-10-08 17:08:57 EDT
Created attachment 180521 [details]
PartRenderingEngineTests tests patch v1
Comment 2 Remy Suen CLA 2010-10-08 19:22:13 EDT
Created attachment 180528 [details]
LazyStackRenderer patch v1

Change the LazyStackRenderer to correct child placeholder's referenced elements so that they point back to the right placeholder.
Comment 3 Remy Suen CLA 2010-10-08 19:25:24 EDT
(In reply to comment #2)
> Created an attachment (id=180528) [details]
> LazyStackRenderer patch v1

Fix and tests released to HEAD.
Comment 4 Remy Suen CLA 2010-10-12 11:00:25 EDT
This causes a discord in that a part's curSharedRef points to a placeholder that its widget is not actually parented under.
Comment 5 Remy Suen CLA 2010-10-12 11:00:38 EDT
Patch has been rolled back. Marking as WONTFIX.