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

Bug 328946

Summary: Part activation history may return incorrect candidate if no placeholders could be found in a perspective
Product: [Eclipse Project] e4 Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Remy Suen <remy.suen>
Status: VERIFIED FIXED QA Contact: Remy Suen <remy.suen>
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: 4.1 M4   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
EPartService patch v1
none
EPartService patch v2
none
EPartService patch v3
none
EPartService patch v4 none

Description Remy Suen CLA 2010-10-28 13:03:51 EDT
1. Window > Open Perspective > Other... > CVS Repository Exploring
2. Hide the 'CVS Repositories' view.
3. The 'History' view should become active, it is not.
Comment 1 Remy Suen CLA 2010-10-29 08:45:47 EDT
Created attachment 182036 [details]
EPartService patch v1
Comment 2 Remy Suen CLA 2010-10-29 10:31:12 EDT
Created attachment 182039 [details]
EPartService patch v2

Found another problem:
1. Window > Open Perspective > Debug
2. Close the 'Debug' view.
3. No views are active now.
Comment 3 Remy Suen CLA 2010-10-29 12:56:18 EDT
Created attachment 182064 [details]
EPartService patch v3

Discovered some other issues surrounding obscured parts that were part of the activation history or parts with parents that weren't actually being rendered.
Comment 4 Remy Suen CLA 2010-11-01 10:07:43 EDT
(In reply to comment #2)
> 1. Window > Open Perspective > Debug
> 2. Close the 'Debug' view.
> 3. No views are active now.

To clarify, what's different about this problem is that if you try to reopen the 'Debug' view, you will see that the 'Package Explorer' is now visible in the same stack as the 'Debug' view.
Comment 5 Remy Suen CLA 2010-11-01 10:16:16 EDT
Created attachment 182138 [details]
EPartService patch v4
Comment 6 Remy Suen CLA 2010-11-01 10:19:08 EDT
(In reply to comment #5)
> Created an attachment (id=182138) [details]
> EPartService patch v4

Patch released to CVS HEAD.
Comment 7 Remy Suen CLA 2010-12-07 10:39:08 EST
Verified with I20101207-0250 on Windows XP.