Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 203997

Summary: [Import/Export] [Import - From File System] Enter Key does not work in "From Directory" combo box.
Product: [Eclipse Project] Platform Reporter: Scott Bolin <sbolin>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: VERIFIED FIXED QA Contact: Prakash Rangaraj <prakash>
Severity: enhancement    
Priority: P5 CC: daniel_megert
Version: 3.3Keywords: helpwanted
Target Milestone: 3.6 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch v01
none
mylyn/context/zip none

Description Scott Bolin CLA 2007-09-19 11:40:26 EDT
Build ID: I20070625-1500

Steps To Reproduce:
1.File->Import
2.Expand General and select File System
3.Click next
4. Enter a valid directory in the "From Directory" field.
5. Hit enter, and the dialog doesn't display the content of the directory.

Workaround: Hit the browse button and then it will show the directory contents.  But, you then have to close the dialog
that it brings up.


More information:
Comment 1 Susan McCourt CLA 2009-07-09 19:11:10 EDT
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Comment 2 Prakash Rangaraj CLA 2009-07-22 06:51:24 EDT
Created attachment 142243 [details]
Patch v01
Comment 3 Prakash Rangaraj CLA 2009-07-22 06:51:33 EDT
Created attachment 142244 [details]
mylyn/context/zip
Comment 4 Prakash Rangaraj CLA 2009-07-22 07:20:27 EDT
Released to HEAD
Comment 5 Dani Megert CLA 2009-07-31 04:42:42 EDT
Instead of having to hit 'Enter' it would be smarter to update the wizard automatically when the text is changed (after a timeout).
Comment 6 Prakash Rangaraj CLA 2009-07-31 05:23:17 EDT
(In reply to comment #5)
> Instead of having to hit 'Enter' it would be smarter to update the wizard
> automatically when the text is changed (after a timeout).
    
Dani,
    I'm not fond of that automatic way. The user should explicitly hint the "loading" either by tabbing out (focus lost) or hitting Enter.
Comment 7 Dani Megert CLA 2009-07-31 05:29:24 EDT
All other fields (e.g. Into folder) also update the wizard. Of course it should not be done on keystroke but after a short timeout.
Comment 8 Prakash Rangaraj CLA 2009-07-31 05:35:46 EDT
(In reply to comment #7)
> All other fields (e.g. Into folder) also update the wizard. Of course it should
> not be done on keystroke but after a short timeout.

    That Into field is not reading the contents of a directory on the disk. It just validates the contents (which the project name)
Comment 9 Dani Megert CLA 2009-07-31 05:39:56 EDT
I know.
Comment 10 Prakash Rangaraj CLA 2009-09-15 04:08:26 EDT
Verified with I20090914-1800