Apache OpenOffice (AOO) Bugzilla – Issue 12135
format menu reappears after binding delete
Last modified: 2003-06-30 11:50:27 UTC
SFrameworkInstall.jar ed-0.2., StarOffice 644m5 Select tools, scripting addon's assign script to menu. Select the highlighttext example and create a menu item in the File menu, e.g. high, select New. Select the newly created menu item in the sub menu window and select delete. Now in the top level menu select Format BUG1 --> the user should be advised that you cannot assign a binding in this menu. This warning does not appear, neither does the format menu proper. The Sub Menu window shows a single 'Format' entry. BUG2 --> create a binding in this menu, e.g. high for the highlighttest example the binding does not get created !!HOWEVER!!, the Scripting Framework has now been blown away, there is no entry in the tools menu for the scripting framework. The user needs to reinstall the scripting framework.
Should have stated the above tests were carried out in a writer document.
Assign to Noel to investigate - want to see why this would occur. PopulateSubMenu expects dynamically created submenus to be of a certain form, the delete is invalidating this assumption. Lets investigate and see what the fix would involve, before making a call on deciding to apply a fix for this release or not.
Can we just not add the Format menu choice at all, when populating the top level menu list. So user would never see the Format menu as a choice, instead of being able to choose it and getting the message that they cannot assign scripts to it. Whatever happens - requires_documentation - in rlease notes, let user know Format menu is dynamically genereated in Writer and Calc and cannot have scripts assigned to it; but it's a static menu in impress and draw so you can assign scripts to it in these applications.
Fixed
SFrameworkinstall ed-0.2 rc3 please see bug 12136 for documentation update The format menu has now been disabled for all office applications Fix verifed on Linux, Closing this issue as verified
verified fixed - closing issue