Bug 480206 - View references aren't removed when removing a feature
Summary: View references aren't removed when removing a feature
Status: CLOSED DUPLICATE of bug 473845
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-20 08:31 EDT by Snjezana Peco CLA
Modified: 2015-10-20 15:22 EDT (History)
4 users (show)

See Also:


Attachments
A sample feature (12.77 KB, application/x-zip-compressed)
2015-10-20 08:35 EDT, Snjezana Peco CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Snjezana Peco CLA 2015-10-20 08:31:55 EDT
Steps to reproduce:

1) install a feature with a view
You can use the attached update site containing the 'Sample view' view created by the Eclipse plugin wizard.
2) restart Eclipse
3) remove the feature installed in step 1
You will see the view with a missing icon still exists in Window>Show view

See https://issues.jboss.org/browse/JBIDE-20984 for more detail.
Comment 1 Snjezana Peco CLA 2015-10-20 08:35:28 EDT
Created attachment 257378 [details]
A sample feature
Comment 2 Thomas Schindl CLA 2015-10-20 08:42:56 EDT
This behavior is expected/desired and follows what happened in 3.x - if we do what you request we would destroy workspace layouts while you are upgrading from one version to another.

Take the following example:
* I had Mars.0 installed with CDT and arrange my views in a very special way
* I download Mars.1 (without CDT)
* I open a workspace with CDT-Views and find out that I've forgotten to install CDT

if we would have removed all the CDT-Views we would have destroy all the hard work you put into arranging them. I leave to the components leads to close this bug but for me this is a WONTFIX
Comment 3 Thomas Schindl CLA 2015-10-20 08:48:47 EDT
ups this is in show view! Then this is a bug but IIRC Lars is already working on a fix for this in another bug.
Comment 4 Lars Vogel CLA 2015-10-20 15:22:09 EDT
Should be fixed via Bug 473845

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