This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 429885 - [Import/Export] Import wizard doesn't work well with "Copy projects into workspace"
Summary: [Import/Export] Import wizard doesn't work well with "Copy projects into work...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.4 M7   Edit
Assignee: Brian de Alwis CLA
QA Contact: Daniel Rolka CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-07 10:18 EST by Szymon Ptaszkiewicz CLA
Modified: 2015-12-07 15:17 EST (History)
2 users (show)

See Also:


Attachments
Screenshot of the Import Projects dialogs that shows the problem. (119.59 KB, image/png)
2014-06-02 09:06 EDT, Wojciech Sudol CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Ptaszkiewicz CLA 2014-03-07 10:18:06 EST
Steps to reproduce:
1. Create a new project in workspace.
2. Delete this project without deleting its contents from disk.
3. Go to File > Import > Existing Projects into Workspace.
4. Click "Browse..." to select root directory.
5. Select directory where the project was saved.
=> The list with projects is updated but it's not clickable and nothing is selected.
6. Uncheck "Copy projects into workspace" option.
7. Click on the radio button with "Select root directory" label.
=> The list with projects is refreshed and some projects are now magically selected.

It works fine in 4.3.2.
Comment 1 Brian de Alwis CLA 2014-03-26 17:28:52 EDT
Puzzling that it worked in 4.3.2 as the WizardProjectsImportPage wasn't refreshing the projects list when the "Copy projects" button was toggled.

Fix committed as:

   http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=3a3b6e0e3dc59714f0f2f4b7ecd74b21f83cd132
Comment 2 Wojciech Sudol CLA 2014-06-02 09:06:38 EDT
Created attachment 243797 [details]
Screenshot of the Import Projects dialogs that shows the problem.

(In reply to Brian de Alwis from comment #1)
> Puzzling that it worked in 4.3.2

In my environment I can reproduce the problem in both 4.3.2 and 4.4 M6.

In 4.4 I20140528-2000 it looks better, but the behaviour is still not consistent, as described in the following scenario:
1. Create a new project in workspace.
2. Delete this project without deleting its contents from disk.
3. Go to File > Import > Existing Projects into Workspace.
4. Check "Copy projects into workspace" option.
5. Click "Browse..." to select root directory.
6. Select directory where the project was saved.
=> The list with projects is updated but it's not clickable and nothing is selected.
7. Uncheck "Copy projects into workspace" option.
=> The list of projects becomes active.
8. Check the project to import.
=> The checkbox indicates the "partially selected" mode (see screenshot).
9. Click on the radio button with "Select root directory" label.
=> Now the checkbox indicates the "fully selected" mode (see screenshot).
Comment 3 Brian de Alwis CLA 2015-12-07 15:17:25 EST
.