Community
Participate
Working Groups
The javaee perspective of Eclipse 4.2.0, under win 7 64 bit. The "Project Explorer" always show unfold icon on startup for any project, even the closed one. However, when click on it, it will notice the project is closed, and the unfold icon disappear, this annoys.
This works fine for me on Windows 7 64-bit using 4.3 M5a: http://download.eclipse.org/eclipse/downloads/drops4/S-4.3M5a-201302041400/ Can you attach a screenshot?
Created attachment 227332 [details] The eclipse javaee perspactive start up
Created attachment 227333 [details] after click the fake unfold icon, it dispears
I don't think screenshot helps, cause it only can prove such bug exists, but not give any debug info. But as you mention, I add 2 screenshots, the first one is the startup, the 2nd one is after I click the unfold icon for the closed project "cache_management". I can replay the bug on nearly every computer I have. (Both at work or my home computer). This is the screenshot at my home computer, which install pydev plugin, but "java ee" perspactive
- Does it also happen in the Package Explorer? - Does it also happen with a closed 'Java' project? - Of what kind/type is the closed 'cache_management' project? - Can you reproduce it when using this build: http://download.eclipse.org/eclipse/downloads/drops4/M20130204-1200/
- I'm not using package explorer, but project explorer - yes, I have another workspace which is all java projects, same problem - the closed "cache_management" is a django python project, opened by pydev plugin, but I think this is the eclipse issue, not pydev issue - I'm not trying 4.2.2, since it not seems like stable release, but I'll try 4.3 m5a
I'm having a similar problem with 4.2.1, also under Win 7 64 bit. In my case on start-up the Project Explorer indicates all projects as open. If I click on the icon on the left to expand the project it will disappear if it's not actually open. If I right-click in the Project Explorer space and select Refresh, it will clear the icons on closed projects and indicates correctly. If I set the option to do refresh on start-up, it still does not clear the icons on the closed projects but will clear them if I manually ask for refresh again.
(In reply to comment #7) > I'm having a similar problem with 4.2.1, also under Win 7 64 bit. In my case > on start-up the Project Explorer indicates all projects as open. If I click > on the icon on the left to expand the project it will disappear if it's not > actually open. If I right-click in the Project Explorer space and select > Refresh, it will clear the icons on closed projects and indicates correctly. > If I set the option to do refresh on start-up, it still does not clear the > icons on the closed projects but will clear them if I manually ask for > refresh again. Can you please answer the questions from comment 5 for us.
- Does it also happen in the Package Explorer? - Does it also happen with a closed 'Java' project? - Of what kind/type is the closed 'cache_management' project? - Can you reproduce it when using this build:(In reply to comment #8) > (In reply to comment #7) > > I'm having a similar problem with 4.2.1, also under Win 7 64 bit. In my case > > on start-up the Project Explorer indicates all projects as open. If I click > > on the icon on the left to expand the project it will disappear if it's not > > actually open. If I right-click in the Project Explorer space and select > > Refresh, it will clear the icons on closed projects and indicates correctly. > > If I set the option to do refresh on start-up, it still does not clear the > > icons on the closed projects but will clear them if I manually ask for > > refresh again. > > Can you please answer the questions from comment 5 for us. - Does it also happen in the Package Explorer? NO, Package Explorer is fine - also then switching to Project Explorer without restarting I do still see the problem there. - Does it also happen with a closed 'Java' project? YES in Project Explorer NO in Package Explorer - Of what kind/type is the closed 'cache_management' project? I'm not the one with the "cache_management" project. All of my projects are PHP projects. - Can you reproduce it when using this build: I'm reluctant to try another build at this time as I'm currently working on critical production work. I'm currently using Build 20130225-0426.
(In reply to comment #9) > - Of what kind/type is the closed 'cache_management' project? > I'm not the one with the "cache_management" project. All of my projects are > PHP projects. Do you also see the behavior on other projects, e.g. a simple Java project?
(In reply to comment #10) > (In reply to comment #9) > > - Of what kind/type is the closed 'cache_management' project? > > I'm not the one with the "cache_management" project. All of my projects are > > PHP projects. > > Do you also see the behavior on other projects, e.g. a simple Java project? Yes, I created a simple Java project to test this. YES I do have the problem with a Java project in Project Explorer NO I do not have the problem with a Java project in Package Explorer
OK, I can reproduce this in the JEE Juno SR2 package. It is caused by the 'Java EE Navigator Content Application Client' content provider.
Committed and released. Fix will be available in next build of Kepler. https://git.eclipse.org/c/jeetools/webtools.javaee.git/commit/?id=7431934f3ed33802dcc171b434b436a4648336d4
I make the diff to plugins/org.eclipse.jst.jee.ui_1.0.500.v201205170400.jar/plugin.xml, but it doesn't work, still show unfold icon for closed projects in project explorer. (In reply to comment #13) > Committed and released. Fix will be available in next build of Kepler. > > https://git.eclipse.org/c/jeetools/webtools.javaee.git/commit/ > ?id=7431934f3ed33802dcc171b434b436a4648336d4
did you cleaned the osgi cache? (you can clean it with -clean argument) plugin.xml are cached there.