Bug 235825 - [CommonNavigator] Resource perspective won't refresh itself after some actions in java perspective
Summary: [CommonNavigator] Resource perspective won't refresh itself after some action...
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Francis Upton IV CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2008-06-05 09:57 EDT by Tony Wang CLA
Modified: 2008-06-06 11:14 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Wang CLA 2008-06-05 09:57:44 EDT
Build ID: 20080523-0100

Steps To Reproduce:
1.open a new, cleaned workspace
2.open java perspective and resource perspective
3.create a java project in java perspective
4.switch to resource perspective, then we can find there is nothing in it

The only way to solve this is to close-reopen resource perspective


More information:
Comment 1 Szymon Brandys CLA 2008-06-05 10:41:24 EDT
It works on RC3. It looks more like UI issue though. I will let them comment on it.
Comment 2 Tony Wang CLA 2008-06-05 10:59:57 EDT
Using RC3, in resource perspective--rightclick--refresh will solve the problem..
the Build for RC3 is  I20080530-1730, so someone made some changes after 20080523-0100...

If refresh can solve this problem, is that means that problem no longer exist??
since in Test perspective(TPTP), the navigator will update automatically, so i'm still thinking if users need to refresh the Project Explorer by themselves.
Comment 3 Szymon Brandys CLA 2008-06-05 11:03:40 EDT
And again to UI for the same reason as in comment 1. I think that Tony has accidentally moved it back to Resources.
Comment 4 Tony Wang CLA 2008-06-05 11:13:52 EDT
Sry ;-) Move it to UI 
Comment 5 Kim Horne CLA 2008-06-06 08:55:06 EDT
I can't reproduce this in I20080604-2000.  Could you please give this build a try and see if you're still getting this problem please?
Comment 6 Tony Wang CLA 2008-06-06 10:11:44 EDT
Using build I20080604-2000, i have the same result as build I20080530-1730, that means:
1. open java and resource perspective
2. create a java project in java perspective
3. switch to resource perspective--nothing there
4. in Projcet Explorer--right click--refresh--new project comes out

could you please to check if this is still a problem? thanks!
Comment 7 Francis Upton IV CLA 2008-06-06 10:19:03 EDT
(In reply to comment #6)
> Using build I20080604-2000, i have the same result as build I20080530-1730,
> that means:
> 1. open java and resource perspective
> 2. create a java project in java perspective
> 3. switch to resource perspective--nothing there
> 4. in Projcet Explorer--right click--refresh--new project comes out
> 
> could you please to check if this is still a problem? thanks!
> 

Tony, I tried these steps in I20080605-1800 and it worked fine (on linux, I will try on Windows).  On step 2, exactly how to you create the java project?

Comment 8 Tony Wang CLA 2008-06-06 10:36:37 EDT
(In reply to comment #7)
> (In reply to comment #6)
> > Using build I20080604-2000, i have the same result as build I20080530-1730,
> > that means:
> > 1. open java and resource perspective
> > 2. create a java project in java perspective
> > 3. switch to resource perspective--nothing there
> > 4. in Projcet Explorer--right click--refresh--new project comes out
> > 
> > could you please to check if this is still a problem? thanks!
> > 
> Tony, I tried these steps in I20080605-1800 and it worked fine (on linux, I
> will try on Windows).  On step 2, exactly how to you create the java project?

In Java perspective, right click in Package Explorer--New--Java Project

Please note: In the build I20080530-1730 and the build after, the original problem in description no longer exist, the new problem is in comment #6, i mean, if it's a problem ;-)
Comment 9 Francis Upton IV CLA 2008-06-06 10:43:28 EDT
(In reply to comment #8)

> In Java perspective, right click in Package Explorer--New--Java Project
> 
> Please note: In the build I20080530-1730 and the build after, the original
> problem in description no longer exist, the new problem is in comment #6, i
> mean, if it's a problem ;-)
> 
What you describe in comment 6 is a problem; it should be there; refresh should not be required

Here is what I did on windows:

1) start with empty workspace (pointed to a directory that did not previously exist)
2) opened resource perspective (windows -> open perspective -> other -> resource)
3) switched to java perspective (pressed "java" button in perspective bar)
4) in package explorer, right-click new -> java project
5) in the wizard typed in "test"
6) pressed finish
7) project appears in package explorer
8) pressed the "resource" button to switch to resource perspective
9) project appears in project explorer

Can you reproduce this with exactly these steps on a Windows machine with I20080606-0100? 

Comment 10 Paul Slauenwhite CLA 2008-06-06 11:07:26 EDT
I cannot reproduce this on Windows XP using the June 5 1 PM driver.  However, I did Netmeeting with Tony and he can consistently produce it using the June 6 driver.
Comment 11 Tony Wang CLA 2008-06-06 11:13:53 EDT
I use my other machine(still windows) to complete the steps in comment #9, and i can't reproduce the problem, so that might have some problme(or some setting) in my old machine~ Everything looks fine now, Thanks all! marked as CLOSED
Comment 12 Tony Wang CLA 2008-06-06 11:14:40 EDT
closing