Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 371135 - New Java Project Tool item disappears after switching perspectives
Summary: New Java Project Tool item disappears after switching perspectives
Status: CLOSED DUPLICATE of bug 319255
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-09 15:23 EST by Dean Roberts CLA
Modified: 2012-02-10 08:27 EST (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 Dean Roberts CLA 2012-02-09 15:23:00 EST
This problem is caused by the commit for Bug 320478.  I'll be investigating Friday.

1) Open Java Perspective
2) Open Debug Perspective
3) Switch back to Java Perspective.

Notice that after step 3, the New Java Project ToolItem is no longer visible on the tool bar.

Resetting the perspective DOES get it back.

I have confirmed this is a side effect of the commit for Bug 320478.
Comment 1 Remy Suen CLA 2012-02-09 23:46:53 EST
The correct behaviour for this item is that it should be hidden.
Comment 2 Dani Megert CLA 2012-02-10 01:54:26 EST
(In reply to comment #0)
> This problem is caused by the commit for Bug 320478.  I'll be investigating
> Friday.
> 
> 1) Open Java Perspective
> 2) Open Debug Perspective
> 3) Switch back to Java Perspective.
> 
> Notice that after step 3, the New Java Project ToolItem is no longer visible on
> the tool bar.
> 
> Resetting the perspective DOES get it back.
> 
> I have confirmed this is a side effect of the commit for Bug 320478.

IMPORTANT NOTE: Not seeing the icon is actually the correct thing i.e. the icon should also not be there after the first step. See bug 319255.
Comment 3 Dean Roberts CLA 2012-02-10 08:27:28 EST

*** This bug has been marked as a duplicate of bug 319255 ***