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

Bug 322403

Summary: Showing a shared part with PartState.VISIBLE may not work correctly due to incorrect parent comparisons
Product: [Eclipse Project] e4 Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Remy Suen <remy.suen>
Status: RESOLVED FIXED QA Contact: Remy Suen <remy.suen>
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: 4.1 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Remy Suen CLA 2010-08-11 12:25:29 EDT
We check the parents of the active part against the part-to-be-shown to determine how to respond when PartState.VISIBLE is used but the check is always 'true' for shared parts because getParent() returns 'null' for both parts. This is obviously wrong. We need to update the code to consider placeholders.
Comment 1 Remy Suen CLA 2010-08-11 14:37:48 EDT
Fixed in CVS HEAD.