Bug 279252 - [Import/Export] 'browse' on import project sometimes unnecessary scans filesystem
Summary: [Import/Export] 'browse' on import project sometimes unnecessary scans filesy...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows Vista
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-05 09:16 EDT by Tomasz Bartczak CLA
Modified: 2019-09-06 16:12 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Bartczak CLA 2009-06-05 09:16:22 EDT
Build ID: I20090522-1710

Steps To Reproduce:
When importing existing project I have a field at 'Select root directory'

If I type something initialy and hit browse (alt+r) Eclipse is reading recursively the dir, when I was expecting it would popup a file dialog starting from the dir I typed.

Maybe add a 'scan' button that would do what it should - scan directory, and let 'browse' do browsing ?
Comment 1 Remy Suen CLA 2009-06-05 10:17:11 EDT
(In reply to comment #0)
> Maybe add a 'scan' button that would do what it should - scan directory, and
> let 'browse' do browsing ?

At the moment, the 'Refresh' button is performing the scanning.
Comment 2 Prakash Rangaraj CLA 2009-06-10 07:14:54 EDT
(In reply to comment #0)
> If I type something initialy and hit browse (alt+r) Eclipse is reading
> recursively the dir, when I was expecting it would popup a file dialog starting
> from the dir I typed.

    The directory is scanned on a focusLost() event. However, I tried hitting the Browse button after typing few chars in the directory text, it didn't scan the directory, instead it shows me a File Dialog with the text typed as the initial folder. Probably a windows specific issue? 

    When the directories are scanned, what happens when you click the Cancel button? The File Dialog opens/nothing happens?
Comment 3 Tomasz Bartczak CLA 2009-06-10 07:42:03 EDT
When I hit cancel. it stops scanning, and leaves the window as it was.

However I see what makes the difference.
It is what You type into the field:

If I type c: and click browse, or hit alt+r - first time It flashes the dialog window, but nothing is showed, when i hit once more I get a file dialog.

If I type c:\ and click browse or hit alt+r I get a 'disk scanning' :-) which is not expected, as I would like to browse the inside of c:
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:12:49 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.