Issue 76719

Summary: Disabling single menu option items doesn't work
Product: General Reporter: muehlenhoff <muehlenhoff>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 2.1   
Target Milestone: AOO Later   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description muehlenhoff 2007-04-26 14:47:54 UTC
I'm trying to configure OOo 2.1.0 to disable the menu option 
for "Load/Save"->"General"->"Always create backup copy". I've tracked it down to the file 
user configuration setting file "OptionsDialog.xcu", which should apparently control the 
menu layout. Judging from the schema and comments found on the I net I wrote a 
configuration snippet as already present for other XCU spec files. My "OptionsDialog.xcu" 
looks like this and is placed in ~/.openoffice.org2/user/registry/data/org/openoffice/Office:

<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" 
xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Op
tionsDialog" oor:package="org.openoffice.Office">
<node oor:name="LoadSave" oor:op="replace">
  <node oor:name="Pages">
    <node oor:name="General" oor:op="replace" oor:finalized="true">
      <node oor:name="Options">
        <node oor:name="Backup" oor:op="replace" oor:finalized="true">
          <prop oor:name="Hide">
            <value>true</value>
          </prop>
        </node>
      </node>
    </node>
  </node>
</node>
</oor:component-data>

Unfortunately, this isn't put into effect; upon access of the options the OptionsDialog.xcu 
file is renamed into OptionsDialog.xcu.bak, but nothing further happens. I've been unable to 
narrow this further.

strace shows a failed attempt to 
open /usr/lib/openoffice/share/registry/modules/org/openoffice/Office/OptionsDialog Is this 
harmless? If not, how can this file be generated? Is the specific feature to display a subitem 
of a menu fully implemented in 2.1.0?
Comment 1 carsten.driesner 2007-04-29 08:22:58 UTC
cd->pb: Please have a look.
Comment 2 pb 2007-05-07 10:50:22 UTC
pb: sorry but at the moment you could only disable option groups and pages and
not a single option. But we want to implement it in the future.
Comment 3 Mathias_Bauer 2007-12-04 16:17:23 UTC
according to release status meeting -> target 3.x
Comment 4 Mathias_Bauer 2009-05-07 13:28:59 UTC
grabbing issue
Comment 5 Marcus 2017-05-20 11:29:28 UTC
Reset assigne to the default "issues@openoffice.apache.org".