Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322403 - Showing a shared part with PartState.VISIBLE may not work correctly due to incorrect parent comparisons
Summary: Showing a shared part with PartState.VISIBLE may not work correctly due to in...
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.1 M2   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 12:25 EDT by Remy Suen CLA
Modified: 2010-08-11 14:37 EDT (History)
0 users

See Also:


Attachments

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