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

Bug 395194

Summary: Non-restorable views appear on a restart
Product: [Eclipse Project] Platform Reporter: Eric Moffatt <emoffatt>
Component: UIAssignee: Eric Moffatt <emoffatt>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 4.2   
Target Milestone: 4.2.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Eric Moffatt CLA 2012-11-27 13:16:26 EST
We should be removing the MPlaceholders for views declared as 'non-restorable' on shutdown so that they won't appear on the next restart...
Comment 1 Eric Moffatt CLA 2012-11-27 13:16:43 EST
Moving to the 4.2.2 milestone...
Comment 2 Eric Moffatt CLA 2012-11-29 15:22:32 EST
Note Bug 358578 seems to address the same issue. I think that the issue is actually that we have two different close paths; one for when there's a single window up and a different one for when the user closes the application using 'File -> Exit'. 

Right now the File -> Exit one tries to hide the views but doesn't actually remove the placeholders and the 'x' button doesn't even try to handle this...
Comment 3 Eric Moffatt CLA 2013-01-10 14:46:05 EST
http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R4_2_maintenance&id=923c49b5ab2b7e78504051413500bd8ac83393d9

Removes all non-restorable views including all instances of multiple-instance views (except the placeholder with the secondary id '*'). For single instance views it will set the TBR to false (again to maintain its placeholder).
Comment 4 Eric Moffatt CLA 2013-01-17 12:55:23 EST
Verified in M20130116-1800.