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

Bug 58151

Summary: [New Look] Dock perspective buttons on the left
Product: [Eclipse Project] Platform Reporter: Ed Burnette <ed.burnette>
Component: UIAssignee: Michael Van Meekeren <michaelvanmeekeren>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aiproulx, daveo
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
A perspective changer widget suitable for inclusion in a status bar area
none
A perspective changer widget suitable for inclusion in a status bar area none

Description Ed Burnette CLA 2004-04-12 11:32:53 EDT
In 3.0M8 you can only doc perspective buttons up in the tool bar area (with or 
without a swish). This is a usability problem because of the extra vertical 
real-estate lost (often this causes the tool bar to go to multiple rows), and 
because it breaks the upper-left centrism of most languages and user 
interfaces. Previous versions docked these buttons on the left but you can't 
do that any more. If you want to allow some different options for the docking 
location that would be ok, but the default should be on the left as before.

(regression from 3.0m7, related to bug 52685 and bug 52780).
Comment 1 Florian Priester CLA 2004-04-13 01:34:14 EDT
See bug 53039.
Comment 2 Debbie Wilson CLA 2004-04-13 10:13:12 EDT

*** This bug has been marked as a duplicate of 53039 ***
Comment 3 David J. Orme CLA 2004-04-15 16:09:28 EDT
Per MVM's comments in bug 53039, I'm expecting this bug to be reopened.  For
reference, there was a good discussion in bug 53039 about the best location for
the perspective switcher if it is not to be on the left and not at the top right
and not in a separate CoolBar below the main tool bar.

The gist of the conversation was that:

- RCP often applications define their UIs via perspectives

- Perspectives present a task-centric view of the work data

- Therefore, a task bar implementation for the perspective switcher, located in
the status bar area of Eclipse seems to be a reasonable, and possibly very
advantageous choice.

- If there must be exactly one place for the perspective switcher, we at least
owe it to ourselves to investigate the "task bar" implementation choice.

Please see the comments in bug 53039 for more detail.
Comment 4 Ed Burnette CLA 2004-04-15 16:48:57 EDT
Reopening at David's request.
Comment 5 David J. Orme CLA 2004-05-05 16:42:30 EDT
Created attachment 10306 [details]
A perspective changer widget suitable for inclusion in a status bar area

The attached code implements a perspective changer widget that is designed to
be included in a status bar area.  It also includes code to automatically work
around the following SWT limitations:

- Image transparancy on buttons is ignored by default
- Button cannot have a setImage() and setText() at the same time
Comment 6 David J. Orme CLA 2004-05-05 16:53:40 EDT
Created attachment 10310 [details]
A perspective changer widget suitable for inclusion in a status bar area

This attachment fixes a fix to a bug that caused Image resources to be leaked.
:-)
Comment 7 Eelco Hillenius CLA 2004-05-22 18:18:34 EDT
In M9 docking to the top-left/ left works well, but is not persisted between
Eclipse sessions, while text on/off is.
Comment 8 Michael Van Meekeren CLA 2004-05-22 23:38:46 EDT
comment #7 should be logged in a new bug please.  This bug is fixed.