Bug 4722

Summary: First editor tab missing close button (1GF7QIQ)
Product: [Eclipse Project] Platform Reporter: John Arthorne <john.arthorne>
Component: SWTAssignee: Veronika Irvine <veronika_irvine>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 M2   
Hardware: All   
OS: Windows 2000   
Whiteboard:

Description John Arthorne CLA 2001-10-11 14:21:54 EDT
Sometimes the editor tab is missing the "X" button for closing the editor,
even if that editor has focus (for example immediately after opening it).
Here are steps to reproduce from a new workspace (follow steps exactly on Win2k):

1) Open a brand new workbench
2) Close the Welcome editor
3) Create a project (Right click in navigator, New->Project->Simple->Project)
4) Select the project in the navigator, right click, New->File->abc.txt
5) Close the editor for "abc.txt"
6) Hide the editor area
7) Double click "abc.txt" to open the file
8) The close tab button is missing.  You have to open a second editor, then switch back to close the first.

NOTES:

KH (6/12/2001 11:11:19 AM)
	Moving to SWT for comment. 

VI (6/15/2001 10:04:24 AM)
	At the time when the CTabFolder is first resized, there is no selected tab item and therefore the 
	close button does not get laid out.
Comment 1 DJ Houghton CLA 2001-10-29 16:33:49 EST
PRODUCT VERSION:

0.122 Win2k

Comment 2 Mike Wilson CLA 2001-12-10 11:24:30 EST
VI to retest.
Comment 3 Veronika Irvine CLA 2002-01-07 13:25:40 EST
This problem is fixed.