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

Bug 152679

Summary: [Perspectives] "Previous Perspective" action doesn't go to previous perspective
Product: [Eclipse Project] Platform Reporter: Jared Burns <jared_burns>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P5 CC: Kevin_McGuire, udo.walker
Version: 3.2Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard: stalebug

Description Jared Burns CLA 2006-08-02 18:54:38 EDT
The "Previous Perspective" action (by default, Shift+Ctrl+F8) does not cycle through perspectives in a meaningful definition of "previous".

This action should switch perspectives in order of activation. For example, if I'm working in the Java perspective, then I switch to the Debug perspective to debug a problem, I would like the "Previous Perspective" action to take me back to the Java perspective.

The current behavior is psuedo-random. For example, my toolbar currenty shows 4 open perspectives:
  A | B | C | D

Regardless of my activation order, if I start from perspective D,the Previous Perspective action will activate B, then A, then C, then D (and repeat).
Comment 1 Paul Webster CLA 2006-08-02 20:31:46 EDT
The CTRL+F8 walks forwards and CTRL+SHIFT+F8 walks backwards through the MRU list for perspectives.

Ironically, that means CTRL+F8 will take you to the last perspective (twice will take you to the second-last perspective).

PW
Comment 2 Jared Burns CLA 2006-08-04 12:58:52 EDT
Oh, cool. Well that's an easy workaround. :-)

The names of the actions should be reversed, though.
Comment 3 Paul Webster CLA 2006-09-28 15:18:10 EDT
Is this still a problem in 3.3?

PW
Comment 4 Jared Burns CLA 2006-09-28 16:05:47 EDT
Did you fix it?
Comment 5 Paul Webster CLA 2006-09-28 20:13:59 EDT
No, and it won't be addressed in 3.3.

PW
Comment 6 Jared Burns CLA 2006-09-28 20:17:59 EDT
This is a simple bug. Would you accept a patch?
Comment 7 Paul Webster CLA 2007-06-22 15:02:46 EDT
I'm not sure what to do with this.  Previous/Next perspective refer to the direction that the "perspective list" will be traversed.  The list itself is an MRU list.

But I'm not sure changing the names to MRU Perspective and LRU Perspective would be acceptable.

PW
Comment 8 Udo Walker CLA 2015-09-24 12:54:51 EDT
Fixed?
Comment 9 Eclipse Genie CLA 2019-10-27 14:35:21 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.