Issue 50838

Summary: [RFE] please dynamically hide adjacent separators in menus
Product: gsl Reporter: Frank Schönheit <frank.schoenheit>
Component: codeAssignee: stephan_schaefer
Status: CLOSED FIXED QA Contact: issues@gsl <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 680m109   
Target Milestone: OOo 2.0   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 46898    

Description Frank Schönheit 2005-06-16 15:36:20 UTC
In the course of fixing issue 46898, some menu items in Writer and Calc are
dynamically hidden at runtime, depending on whether the Base application is
installed or not. This works fine in general, but:
If the menu item which is removed from the menu is between two separators, then
the separators are left, being adjacent, which looks ugly.

Toolbars feature a mechanism that of n adjacent separators, n-1 ones are
automatically removed from the toolbar (or simply ignored). Please implement a
similar mechanism for menus.
Comment 1 Frank Schönheit 2005-06-16 15:37:49 UTC
fs->ssa: there's an installation set for CWS "optionalbase", where you can see
the behaviour (and eventually verify your fix) in the "View" menu.
Comment 2 Frank Schönheit 2005-06-16 15:38:20 UTC
speaking strictly, this is an enhancement, me thinks
Comment 3 stephan_schaefer 2005-06-17 15:05:58 UTC
Fixed in CWS optionalbase. I checked it by configuring a menu using the
customize dialog.


Comment 4 Frank Schönheit 2005-06-20 14:38:51 UTC
looks good in CWS
Comment 5 stephan_schaefer 2005-06-23 08:56:46 UTC
Verified in master 680m112 -> closing.