Issue 12135 - format menu reappears after binding delete
Summary: format menu reappears after binding delete
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: 644
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: noel.power
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-07 18:53 UTC by robert.kinsella
Modified: 2003-06-30 11:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description robert.kinsella 2003-03-07 18:53:47 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.
Comment 1 robert.kinsella 2003-03-07 18:55:03 UTC
Should have stated the above tests were carried out in a writer document.
Comment 2 Unknown 2003-03-10 07:32:18 UTC
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.
Comment 3 Unknown 2003-03-10 09:54:04 UTC
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.

Comment 4 noel.power 2003-03-13 11:13:48 UTC
Fixed
Comment 5 robert.kinsella 2003-03-13 15:15:32 UTC
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
Comment 6 robert.kinsella 2003-06-30 11:50:27 UTC
verified fixed - closing issue