Bug 4622 - DCR: No auto tab select on first tab created (1GCEDI4)
Summary: DCR: No auto tab select on first tab created (1GCEDI4)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Veronika Irvine CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-11 14:20 EDT by Simon Arsenault CLA
Modified: 2003-10-29 09:12 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Arsenault CLA 2001-10-11 14:20:06 EDT
Could you change CTabFolder and TabFolder to not auto select the first tab
	that is created? By doing so, it will reduce so draw flash in CTabFolder. Eclipse
	UI already determine which tab should be selected anyway.

	PS Sorry for changing our minds again ;-)

NOTES:

SN (4/19/01 10:35:48 AM)
	For now, we will take out the initial selection for CTabFolder but not all platforms
	support this natively.  We would like to keep the initial selection and fix your code
	for the next release to avoid the flash.

	McQ (26/06/2001 1:07:39 PM) -
		Agree with SN. The first tab should be "selected". Question: Can we just avoid
		doing the callback? Note: This would require changes in the application code,
		so it may be too late to fix this.
Comment 1 DJ Houghton CLA 2001-10-29 16:26:09 EST
PRODUCT VERSION:
	0.045

Comment 2 Veronika Irvine CLA 2002-04-17 09:46:39 EDT
Currently, the behaviour is that when an item is created (including the first 
item) it does not get selected.  However, when the CTabFolder gets focus, if no 
item has been selected, the first item is selected.

TabFolder selects the first item created.

Do we need to do anything with this bug report any more?
Comment 3 Simon Arsenault CLA 2002-04-17 10:17:39 EDT
Did you just add this new behavior or has that been in there since release 1.0? 
If since 1.0, then yes you can close this PR. If new code, then we'll need to 
try it out.

I cannot remember now what the scenario was that was causing this flash. Maybe 
at creation time when we add a bunch of tab and then select the one we know 
should be selected.
Comment 4 Veronika Irvine CLA 2003-10-29 09:12:00 EST
There is no auto select as per the request of the UI team.