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

Bug 312095

Summary: [Compatibility] Restarting always reverts to the default perspective (ie.. Java)
Product: [Eclipse Project] e4 Reporter: Eric Moffatt <emoffatt>
Component: UIAssignee: Eric Moffatt <emoffatt>
Status: RESOLVED FIXED QA Contact: Remy Suen <remy.suen>
Severity: normal    
Priority: P3 CC: remy.suen
Version: unspecified   
Target Milestone: 1.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch to determine the currently active perspective from the model none

Description Eric Moffatt CLA 2010-05-07 12:09:14 EDT
If you shut down with the Debug perspective active and restart you end up with the Java perspective showing. Also, some interaction at the rendering level leaves the shared editor area empty.
Comment 1 Eric Moffatt CLA 2010-05-07 12:13:22 EDT
Created attachment 167502 [details]
Patch to determine the currently active perspective from the model


We may want to factor this so that it doesn't over write the 'default' perspective field.
Comment 2 Eric Moffatt CLA 2010-05-07 12:16:44 EDT
Take a look at this, perhaps we should be adding more utility methods to determine things like this (introspecting the model is the right thing to do here, it knows what state it was in when it shut down so we shouldn't need to cache this anywhere...)
Comment 3 Eric Moffatt CLA 2010-05-07 12:17:45 EDT
Committed in >20100507. Applied the patch. I'll leave the defect open pending Remy's review.
Comment 4 Remy Suen CLA 2010-05-07 12:19:52 EDT
(In reply to comment #3)
> Committed in >20100507. Applied the patch. I'll leave the defect open pending
> Remy's review.

Looks fine to me. Thanks, Eric.