Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312095 - [Compatibility] Restarting always reverts to the default perspective (ie.. Java)
Summary: [Compatibility] Restarting always reverts to the default perspective (ie.. Java)
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.0 M6   Edit
Assignee: Eric Moffatt CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 12:09 EDT by Eric Moffatt CLA
Modified: 2010-05-07 12:19 EDT (History)
1 user (show)

See Also:


Attachments
Patch to determine the currently active perspective from the model (2.26 KB, patch)
2010-05-07 12:13 EDT, Eric Moffatt CLA
no flags Details | Diff

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