Community
Participate
Working Groups
If I closed all the perspectives on the workbench, and installed a Hello World application that would add a menu item to the menu bar. The workbench is not updated with the new menu item until I opened a perspective. Maybe a separate bug, at the end of the application install, the install will prompt for user to reset perspective even when all the perspectives were closed.
What mechanism is used to add the menu item? An action set with state="true"? Normally the workbench hides all action sets when all perspectives are closed, so I wouldn't expect a newly installed one to show up. Richard discussed this with me earlier, and it sounds to me like this is a result of your patch to the base to show action sets when no perspectives are open. If so, then this is something you need to fix in your patch.
We are using the Eclipse sample Hello World. The state is set to "true" - <extension point="org.eclipse.ui.actionSets"> - <actionSet label="Sample Action Set" visible="true" id="Hello_World.actionSet"> - <menu label="Sample &Menu" id="sampleMenu"> <separator name="sampleGroup" /> </menu> <action label="&Sample Action" icon="icons/sample.gif" class="Hello_World.actions.SampleAction" tooltip="Hello, Eclipse world" menubarPath="sampleMenu/sampleGroup" toolbarPath="sampleGroup" id="Hello_World.actions.SampleAction" /> </actionSet> </extension> This problem could happen to any RCP workbench with Update manager. From the RCP workbench launch Install to install a Hello World application while all the perspectives are closed. This problem occured without Richard's code.
kim, can you comment on whether you have visited this case?
Until bug 80725 is addressed, no action sets are shown while all perspectives are closed, so I would not expect a newly installed action set to show up, even if it has visible="true". Given this behaviour, how are you invoking Update (in the IDE, anyway, its actions come in via an action set)? I'll mark this bug as dependent on bug 80725 so that we can ensure the dynamic update case works.
I'll look into the reset prompt.
The bug 80725 which this bug is dependent on has been fixed, any progress in fixing this problem?
Beth, I don't believe bug 80725 has been fixed. Kim and Nick, there are some that want this capability in 3.0.2, but to be honest, this sounds like it could be too big of a change for a patch release. One could argue this is an enhancement request. What are you thoughts? Is this even being considered for 3.0.2?
No, this is really a feature enhancement, so it's not being considered for 3.0.2.
Thanks for the update. That is what I thought.
There are no plans to address this enhancement for Eclipse 3.2. Action sets still are not shown when all perspectives are closed (enhancement 80725), so there is no need to show them when dynamically installed. I don't know if there has been any change in the prompt to reset, or if that is even an issue for you. If so, we may be able to address that for 3.2.
(In reply to comment #10) > There are no plans to address this enhancement for Eclipse 3.2. > Action sets still are not shown when all perspectives are closed (enhancement > 80725), so there is no need to show them when dynamically installed. > > I don't know if there has been any change in the prompt to reset, or if that is > even an issue for you. If so, we may be able to address that for 3.2. > In regards to 80725, the patch code that Richard Redpath wrote to process actionSets when there is no initial perspective rendered is fairly straightforward. I realize there are other higher pressure items to get into 3.2, but it would be nice to get rid of this patch fragment code. If there is any possibility of getting the fix for 80725 and 72752(this bug) into 3.2 I think it should be done.
We can't apply Richard's patch as-is, because that would change the meaning of visible="true" for existing action sets, which they may not be prepared to handle. Doug, is there enough support in there now for Eric to try the approach you suggested in bug 80725 comment 9? Please follow up in bug 80725, since this bug covers just the update issues.
(In reply to comment #12) > Doug, is there enough support in there now for Eric to try the approach you > suggested in bug 80725 comment 9? No. If it will be ready at all for 3.2, it will be delayed until 3.2 M6.
*** Bug 71585 has been marked as a duplicate of this bug. ***
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.