Community
Participate
Working Groups
To reproduce: * Open to perspectives (e.g. Java + Debug) and make sure that in both perspectives you have the menu item 'Open Type...'. You can do the same testcase with 'Open Resource...'. * In one perspective use 'Customize Perspective - Menu Visibility' to hide the menu item. * Switch to the other perspective, the menu item is gone. I expect it to be there. * If you look into 'Customize Perspective - Menu Visibility', you'll see that the menu item is selected (although it is not shown).
Markus, which build are you using? I've just tried this using I20090313-0100 by hiding 'Open Type' in the Debug perspective and then switching back and forth between it and the Java perspective and it was always there in the Java perspective and not there in the Debug.
(In reply to comment #1) > Markus, which build are you using? > I've just tried this using I20090313-0100 by hiding 'Open Type' in the Debug > perspective and then switching back and forth between it and the Java > perspective and it was always there in the Java perspective and not there in > the Debug. Hmm, I am using Version: 3.5.0 Build id: I20090313-0100 I'll try to reproduce in a workspace created from scratch later today.
Hmmm, weirdness...I hate weirdness...;-). Let me know how it goes.
I can reproduce this with a new (and thus empty) workspace: * Open eclipse, I am in the Java perspective * Open debug perspective * Hide 'Open Type...' * Go back to Java perspective, 'Open Type...' is gone, :-(.
OK, my turn...;-).
Yep, I'm seeing it now too...I'm taking a deeper look now that I can repro...
(In reply to comment #6) > Yep, I'm seeing it now too...I'm taking a deeper look now that I can repro... Ok, thanks. By the way, it's a very nice and useful feature.
Created attachment 132973 [details] Update the action bars during a perspective switch Does the trick. I've verified that WorkbenchPage#resetToolBarLayout is only called once during a perspective switch (i.e. it wasn't just a case of an ordering issue, the menu and TB weren't being refreshed when switching perspectives).
Committed in >2009042. Now update the action bars on perspective activation. Good pickup Markus, thanks !
This fix is to be reviewed in RC1...see Bug 262636.
Changing target...
*** This bug has been marked as a duplicate of bug 262636 ***
Clearing milestone since it's a DUP...