Community
Participate
Working Groups
N20040503 on a clean workspace - open the CVS Repository Perspective - check out some files - want to change back to the Resource Perspective but it doesn't appear in the perspective bar - resize the bar by dragging the tab's left edge further left and you find both Resource and CVS Repo perspectives are there - move to the Java perspective - switch to Resource or CVS Repo - try to switch back to Java and find it doesn't appear in the perspective bar - resize the bar to make it even bigger and the Java perspective is there In general, it looks like the perspective bar is not expanding to show new perspectives as they are being added (even when there are only a small number of perspectives in the bar).
There is also, no indication on the perspective bar that there are other perspectives that are not displayed because the bar is too short. Perhaps something like we have if too many editors are open (>>) would be useful to show that there is hidden information.
this is by design... the perspective switcher can not grow as it might cause the toolbars on the left to wrap which will mean that the perspective swictcher gets a second line possibly and did not need to grow in the first place etc... the size of the coolbar on the left wins.
Comment 2 may justify showing a chevron when showing the full bar would cause the coolbars to wrap, but we could still expand the perspective bar when there is empty space available to the right of the coolbar. This is the most common case when using the Eclipse SDK.
what if you switch perspectives and the coolbar needs to grow? should the perspective switcher shrink in that case? If the user resizes the perspective switcher themselves should we honour that size, or resize as needed?
I would suggest the following: 1. Limit the maximum size of the perspective bar such that the user cannot expand it larger than the size required to show all perspectives (currently, it is possible to make it so large that it shows white space on the right). 2. If the perspective bar is currently at the maximum size, continue to make it grow whenever a perspective is added. 3. If the user has resized the perspective bar to be smaller than the maximum size, then leave it at the size specified by the user.
Michael, this is the perspective bar polish item we were talking about.
Thanks, I thought the item discussed was involving restricting the maximum size when dragging the curve left, do you recall this?
Yes. That's item 1, comment 5.
Is this still a problem in 3.3? PW
Yes. A highly visible one.
Eclipse Mars does not have the chevron menu anymore. This is fixed.
Agreed. This is fixed.