Issue 88660 - Disabling any command makes Organize Macros menu disappear
Summary: Disabling any command makes Organize Macros menu disappear
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.4.0
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2008-04-23 18:55 UTC by pulsifer
Modified: 2013-01-29 21:47 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
screen shot showing Organize Macros menu (150.78 KB, image/png)
2008-04-23 18:57 UTC, pulsifer
no flags Details
xcu file to disable Check for Updates. (523 bytes, text/plain)
2008-04-23 18:58 UTC, pulsifer
no flags Details
screen shot showing Check for Updates is disabled (116.94 KB, image/png)
2008-04-23 18:59 UTC, pulsifer
no flags Details
screen shot showing Organize Macros has disappeared (144.92 KB, image/png)
2008-04-23 19:00 UTC, pulsifer
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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