Bug 4704 - Focus not given to project name field in wizard (1GEV88H)
Summary: Focus not given to project name field in wizard (1GEV88H)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-11 14:21 EDT by Simon Arsenault CLA
Modified: 2004-10-04 13:42 EDT (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:21:35 EDT
On linux (have not tried on windows)...
	- Self File->New->Project...
	- Select "Basic", select "Project"
	- Click on the "Next" button

	Notice focus is no given to the project name field. It looks
	like the "Back" button has focus. This could be the same
	for other wizards as well (have not verified).

NOTES:

KH (6/5/2001 5:33:31 PM)
	Verified that this is a Linux only problem.  Fixing this would be a significant usability improvement
on Linux. 

SN (6/7/01 1:13:05 PM)
	Here is the problem - on X, a control will not take focus when it is not "viewable".
	In addition to the usual restrictions about being enabled and visible, the control
	must also be "showing".  For example, if the control is clipped by the parent so
	that is cannot be seen by the user, it will not take focus.  There is nothing I can
	do to work around this behavior on X (but I'm still thinking about it because I know
	that this behavior is unwanted).

	So, on Windows we implemented to X behavior but we didn't emulate the "showing"
	part because there is no Windows API to determine this and it would be too expensive
	and error prone to compute this.  On Windows, all of the controls in the hierarchy are
	"visible", but one has size (0,0) so we allow the focus to happen on Windows.

	The fix should be for focus to somehow be refused on Windows (the unwanted
	behavior).  I would also really love to have focus be accepted on X and I will try
	again after the freeze to make this happen, rather than implement the unwanted
	but correct X behavior on Windows.

	McQ (08/06/2001 1:32:20 PM) -
		Not for June.

	McQ (26/06/2001 2:48:55 PM) -
		SN to try again.
Comment 1 DJ Houghton CLA 2001-10-29 16:32:21 EST
PRODUCT VERSION:
	0.118 (SDK)

Comment 2 Steve Northover CLA 2004-10-04 13:42:02 EDT
This has been fixed for a while.  We modeled the X behavior on Windows.