Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 18725 - Create name field does not have focus in new project wizard
Summary: Create name field does not have focus in new project wizard
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux-Motif
: P2 major (vote)
Target Milestone: 2.0 F3   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-03 10:34 EDT by Randy Giffen CLA
Modified: 2002-06-07 13:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Giffen CLA 2002-06-03 10:34:54 EDT
F2

1) File>New>Project>Simple>Project>Next
The Project name field does not have focus.
Comment 1 Nick Edgar CLA 2002-06-03 11:34:55 EDT
Is it also a problem if you add Simple Project to the new item shortcuts and 
use that?  If not, this sounds like a dup of bug 16780.
Comment 2 Nick Edgar CLA 2002-06-03 11:35:59 EDT
Moving to SWT as this does not occur on Windows.
Comment 3 Randy Giffen CLA 2002-06-03 11:56:14 EDT
Does not happen when the Project is added to the new item shortcut.
Comment 4 Mike Wilson CLA 2002-06-03 12:24:34 EDT
There seems to be quite a swirl going on around this problem, but from 
reading the backtrace it looks like this is 16254. Assigning to SN.
Comment 5 Nick Edgar CLA 2002-06-03 14:35:06 EDT
Since bug 16254 has been marked as wontfix, it looks like this is our bug.
Steve, could you make a recommendation for how we should handle this specific 
case, and reassign to UI when done?
Comment 6 Steve Northover CLA 2002-06-03 14:46:17 EDT
I talked to Tod about this and gave him a suggestion.  Did it fail?
Comment 7 Nick Edgar CLA 2002-06-03 15:00:17 EDT
We haven't tried it yet.  But it seems like it's our problem.
Comment 8 Nick Edgar CLA 2002-06-03 15:46:01 EDT

*** This bug has been marked as a duplicate of 15576 ***
Comment 9 Nick Edgar CLA 2002-06-03 15:46:52 EDT
Ignore that.  This is not a dup of 15576.
Comment 10 Tod Creasey CLA 2002-06-06 16:09:58 EDT
The reliance of focus to be set before the page isVisible will not work on all 
platforms. We should be setting it in setVisible for the page.
Comment 11 Tod Creasey CLA 2002-06-06 16:34:48 EDT
All places that need this change:

addResourceType(String, String) - 
org.eclipse.ui.internal.dialogs.FileEditorsPreferencePage

createControl(Composite) - org.eclipse.ui.dialogs.WizardNewProjectCreationPage

createControl(Composite) - org.eclipse.ui.dialogs.WizardNewFileCreationPage

initializePage() - org.eclipse.ui.dialogs.WizardNewFolderCreationPage


createControl(Composite) - 
org.eclipse.ui.internal.dialogs.WizardNewProjectNameAndLocationPage

createControl(Composite) - 
org.eclipse.ui.wizards.datatransfer.WizardExternalProjectImportPage

createRootDirectoryGroup(Composite) - 
org.eclipse.ui.wizards.datatransfer.WizardFileSystemResourceImportPage1
Comment 12 Tod Creasey CLA 2002-06-07 10:00:48 EDT
addResourceType(String, String) - 
org.eclipse.ui.internal.dialogs.FileEditorsPreferencePage
 did not require this change.
Comment 13 Tod Creasey CLA 2002-06-07 10:09:36 EDT
Fixed for build >20020607 and verified by Randy Giffen
Comment 14 Tod Creasey CLA 2002-06-07 13:19:29 EDT
Verified by RG