Apache OpenOffice (AOO) Bugzilla – Issue 76719
Disabling single menu option items doesn't work
Last modified: 2017-05-20 11:29:28 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?
cd->pb: Please have a look.
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.
according to release status meeting -> target 3.x
grabbing issue
Reset assigne to the default "issues@openoffice.apache.org".