Bug 61763 - [CTabFolder] add dropdown always available option
Summary: [CTabFolder] add dropdown always available option
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Duong Nguyen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-11 13:07 EDT by John-Mason P. Shackelford CLA
Modified: 2019-09-06 15:29 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John-Mason P. Shackelford CLA 2004-05-11 13:07:56 EDT
A preferences option for users of the show multiple tabs option whould allow the
chevron to always be displayed, regardless of the number of editors opened. The
number portion of the chevron could be omitted or set to the total number of
editors open.

This is helpful when the significant characters of certain types are hidden
because of the tab compression. While other mechanisms which exist or have been
proposed attempt to address this issue--e.g, hovers which display the full file
name, decreasing or removing the tab compression altogether, etc.--they do not
adequately address the problem since there is no way for the UI to predict when
a suffient number of characters will be displayed on each tab for the user to
easily select from the tabs and having to hover over multiple tabs is annoying.
Even in a senario where a user might consistently use the dropdown to pick one
or two of the open files, several others may be presented in the tab area
clearly enough that the user will prefer to use the tabs. 

Keeping the dropdown available allows the user to adapt to his environment more
effectively than the environment can adapt to him.
Comment 1 Markus Keller CLA 2004-05-11 13:33:06 EDT
John-Mason: as a workaround, you can use Ctrl+E to open the list of editors.
Comment 2 Kim Horne CLA 2004-05-11 13:39:48 EDT
I'd vote for this.  The keyboard shortcut is always available... perhaps the
visual cue should be as well.
Comment 3 Michael Van Meekeren CLA 2004-05-11 16:13:14 EDT
veronika, would a chevron with no numbers be consistent, what would CTabFolder 
do by default.
Comment 4 Veronika Irvine CLA 2004-05-11 16:21:33 EDT
By default, no chevron should be drawn.  This behaviour does not make much 
sense for the default CTabFolder behaviour because the default CTabFolder list 
popped up by the chevron only contains tabs that are not currently visible.

I think if you want to always navigate by the chevron, you should consider 
using the single tab mode:

Window -> Preferences -> Workbench -> Editors

Uncheck "Show multiple editor tabs"

Comment 5 John-Mason P. Shackelford CLA 2004-05-11 16:42:40 EDT
I'd like to see this change as it means that the user is constantly having to 
adapt to whether a particular editor appears in the dropdown or a tab. If the 
dropdown always constained all of the files and always appeared, the user would 
not have to check the multiple tabs before clicking the chevron. The UI is 
trying too hard to adapt to changes in the environment and is consequently 
forcing the user to adapt to changes in the ui.

I do not think that unchecking "show multiple editor tabs" is sufficient here 
since it entails the user user loses the freedom to use the multi tab area when 
it makes sense to do so. Keeping both the chevron and the multiple tabs gets us 
back to where we were at bug 32226 / bug 31564 which many of us had been using.
Comment 6 Michael Van Meekeren CLA 2004-05-11 16:50:14 EDT
I should note that when opening the drop down list (via Ctrl+e or the chevron 
when it is visible) in the editor tab folder, all editors are in the list so 
one does not need to scan the tabs first if that is not desired.
Comment 7 John-Mason P. Shackelford CLA 2004-05-11 16:54:27 EDT
> when opening the drop down list... all editors are in the list

Yes this is true, I should not have replied before testing it again. To what 
were you referring Veronika? Are we not using the default CTabFolder behaviour 
for the editor dropdown?

Comment 8 Veronika Irvine CLA 2004-05-13 15:51:18 EDT
The default behaviour for the CTabFolder can be seen, for example, when you 
use a plugin manifest editor (a mulit-page editor).  The editor workbook and 
stacked views have modified the "show list" behaviour and do not use the 
default CTabFolder behaviour.
Comment 9 John-Mason P. Shackelford CLA 2004-05-13 16:01:36 EDT
Note that the chevron presented in the perspective area does not have a number. 
I don't believe that omitting the number for use w/ multiple tabs represents a 
confusing inconsistency.
Comment 10 Michael Van Meekeren CLA 2004-07-06 13:49:40 EDT
one way I can see this working is if CTabFolder askes a listener whether it has
anything to show in a chevron list and if so how many, and then it shows the
chevron if the answer is yes for the first question.
Comment 11 Eclipse Webmaster CLA 2019-09-06 15:29:56 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.