Community
Participate
Working Groups
This is a request to separate the menubar and toolbar details in the customize perspective dialog so that I can select to remove only the menubar or the toolbar rather than both (as it works right now). For example, if I unselect the 'Java Navigation' command group then it removes both the menubar and toolbar, but I may want to remove just the toolbar (for potentially getting back some screen real estate) but I still want to menubar to be visible incase I need to invoke one of those actions.
This bug is now over a year old. What are the plans to implement it?
This might be addressed for 3.2
Moving Dougs bugs
Assigning to component owner PW
I just submitted a patch for bug 244583 which would effectively address this request. I would suggest to mark this bug as duplicate... and accept my patch :-)
>I just submitted a patch for bug 244583 which would effectively address this >request. I would suggest to mark this bug as duplicate... and accept my patch >:-) Why did you open a new bug just to tell us to mark this existing bug as duplicate of yours?
(In reply to comment #6) My apologies. I only searched for similar bugs after I finished working on mine. If you prefer, I can post my patch here and mark it as a dup.
>If you prefer, I can post my patch here and mark it as a dup. Yes, normally that's what we do because the old bug has most of the cc's. Only if the newer bug has much more information (e.g. steps to reproduce) than the older we mark the older as duplicate of the newer one.
Created attachment 110622 [details] Path with proposed fix. I'm attaching a patch which addresses this request. Rather than letting the user choose either menu, or toolbar, or both, I only let the user "suppress" the toolbar contribution. Implementing this feature as requested in this bug would have broken all kinds of API contracts and it would allow for a situation where actions are represented in the toolbar but not in the menu, which violates UI guidelines. The main feature of this patch is a list of "suppressed toolbar" actions sets maintained with the perspective along with the "always on" and "always off" action sets. The user can select which action sets should have their toolbar suppressed by selecting a checkbox in the Customize Perspective dialog under the toolbar contributions viewer. The list of suppressed toolbar action sets is independent of the visible ones, so enabling or disabling action sets does not affect the state of the suppress toolbar check boxes. To allow for perspectives to customize the action set presentation, I added a suppressToolbar attribute to the perspectiveExtension/actionSet extension point. I also added a "visible" attribute which would allow a perspective to hide an action set that set its initially visible flag to true, though this is not strictly relevant to this bug. Finally, to integrate this feature with the command framework, an additional context is added for each action set: "<action set id>$toolbar", so that commands contributed to a toolbar, and which use an action set for visibility, could respect this setting as well. This feature would need to be better documented, though I'm not sure where.
Created attachment 110623 [details] Screenshot of the customize perspective dialog with suppress toolbar feature.
*** Bug 244583 has been marked as a duplicate of this bug. ***
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.