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

Bug 520097

Summary: Projects Disappear
Product: [Eclipse Project] Platform Reporter: Shawn <big.coffee.lover>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: critical    
Priority: P3 CC: Lars.Vogel, loskutov, mistria
Version: 4.7   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=266030
Whiteboard:

Description Shawn CLA 2017-07-24 07:39:31 EDT
ON loading Eclipse, I can see all my projects in the Project Explorer briefly, then they disappear.  I can't add them as it says it is already imported.



-- Configuration Details --
Product: Eclipse 4.7.0.20170620-1800 (org.eclipse.epp.package.java.product)Installed Features:
 org.eclipse.platform 4.7.0.v20170612-1255
Comment 1 Shawn CLA 2017-07-24 07:56:13 EDT
I really can't reimport anything it seems.

I re-cloned the project from git into a different directory, deleted .classpath, .settings and .project and tried to import as a  file system but can't advance.

Import projects from folder or archive allowed me to import my clone but then it dissappears again.  It's there because if I select build, I see my newly added project and other projects that have disappeared.

Is the only answer reinstalling Eclipse?
Comment 2 Lars Vogel CLA 2017-07-24 07:58:17 EDT
Maybe you have a filter defined? Check "Filter and Customization" in the view menu.
Comment 3 Andrey Loskutov CLA 2017-07-24 08:02:38 EDT
I guess you are using "Project Explorer"? Try to open "Packages Explorer" - the projects will be there. In most cases "disappearing" projects in Projects Explorer are due to the working sets, which do not match the current projects, so the stupid Project Explorer doesn't show anything. I believe this should be fixed in 4.8 with latest patch from Mickael, where non-matching projects are shown in the "Other Projects" node by default.
Comment 4 Shawn CLA 2017-07-24 08:17:50 EDT
Yeah it was due to the working sets ... and appeared when I used "Select Working Set" and selected none.

It wasn't showing in either the Project Explorer either until I selected "deselect working set"

I do aplogize but don't understand what I did to select a working set.
Comment 5 Shawn CLA 2017-07-24 08:18:59 EDT
...ah ... wasn't showing in the package explorer either ... is what I meant to say until I selected "deselect working set"
Comment 6 Mickael Istria CLA 2017-07-24 08:23:41 EDT
Working sets are a way to group projects in the Project Explorer. They also act as filters so any project that's not part of a "selected" working set is hidden. When no working set is selected, nothing gets hidden so you see the whole content of your workspace.
While there are some related improvements to make working sets more intuitive to deal with in Project Explorer (such as bug 266030), the behavior you see is actually there by design (that doesn't mean I like it :P ) and not likely to change.
I'm tempted to close those report as WORKSFORME and keep individual finer grain reports to improve the usability of such working sets. Any objection?