Zombie perspectives

When you install and uninstall Eclipse plugins you might end up with some zombie perspectives on your perspective switcher:

They have the standard perspective icon and when you click on them a perspective opens where most of the views are missing (because all code related to the perspective has been uninstalled).

Bug 217974 deals with this issue and even though there has been some activity lately there is no fix yet. Here's a way to get rid of these icons:

  1. Write down the tooltip text of each of your zombie perspectives.
  2. Close Eclipse.
  3. Edit the file .metadata/.plugins/org.eclipse.ui.workbench/workbench.xml in your workspace directory.
  4. Delete the <perspective> elements that have a child element <descriptor> with an attribute label that contains the tooltip text.
  5. Restart Eclipse.

The zombie icons should be gone now.

Topic: 

5 Comments

That's strange, I just tried

That's strange, I just tried it with log4eclipse in my Eclipse 3.4 and 3.5M6 installations. Deinstalled it, got the zombie and right-click-closed it - voila, icon gone.

It still exists in the open perspective dialog, but since I have all needed perspectives on the switcher, I just never noticed that glitch before.