Issue 88660

Summary: Disabling any command makes Organize Macros menu disappear
Product: General Reporter: pulsifer <apulsifer>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: andre.schnabel, issues
Version: OOo 2.4.0Keywords: oooqa
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
screen shot showing Organize Macros menu
none
xcu file to disable Check for Updates.
none
screen shot showing Check for Updates is disabled
none
screen shot showing Organize Macros has disappeared none

Description pulsifer 2008-04-23 18:55:12 UTC
When any command is disabled using a registry entry in
org.openoffice.Office.Commands/Execute/Disabled, then the menu item "Tools |
Macros | Organize Macros" disappears.

Instructions to duplicate:

- Shutdown OOo, including the Quickstarter

- Create a file "C:\Program Files\OpenOffice.org
2.4\share\registry\data\org\openoffice\Office\Commands.xcu" with the following
contents:

<?xml version="1.0" encoding="UTF-8" ?>
<oor:component-data oor:name="Commands" oor:package="org.openoffice.Office"
xmlns:oor="http://openoffice.org/2001/registry" 
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<node oor:name="Execute">
 <node oor:name="Disabled">
  <node oor:name="UpdateCheck" oor:op="replace">
   <prop oor:name="Command">
    <value>vnd.sun.star.job:alias=UpdateCheck</value>
   </prop>
  </node>
 </node>
</node>
</oor:component-data>

- Run OOo

- Verify that the menu item "Help | Check for Updates..." is greyed out (this is
what the xcu file should do).

- Verify the the menu item "Tools | Macros | Organize Macros" has disappeared
(this is the bug).

It does not matter what command is disabled in the xcu file; disabling any
command causes "Tools | Macros | Organize Macros" to disappear.
Comment 1 pulsifer 2008-04-23 18:57:58 UTC
Created attachment 53147 [details]
screen shot showing Organize Macros menu
Comment 2 pulsifer 2008-04-23 18:58:54 UTC
Created attachment 53148 [details]
xcu file to disable Check for Updates.
Comment 3 pulsifer 2008-04-23 18:59:55 UTC
Created attachment 53149 [details]
screen shot showing Check for Updates is disabled
Comment 4 pulsifer 2008-04-23 19:01:05 UTC
Created attachment 53150 [details]
screen shot showing Organize Macros has disappeared
Comment 5 andreschnabel 2008-04-30 11:15:47 UTC
confirmed on WinXP using OOo 2.4.0
Comment 6 pulsifer 2008-11-20 15:43:06 UTC
this bug also exists in OOo v3.0