Issue 126385 - crash with .uno:InsertCommand and .uno:InsertConfigName
Summary: crash with .uno:InsertCommand and .uno:InsertConfigName
Status: UNCONFIRMED
Alias: None
Product: Math
Classification: Application
Component: code (show other issues)
Version: 4.1.0
Hardware: All All
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-28 22:40 UTC by Regina Henschel
Modified: 2015-06-28 22:40 UTC (History)
0 users

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 Regina Henschel 2015-06-28 22:40:31 UTC
Start module Math.
Customize the toolbar to contain the commands "Insert Command" (that is .uno:InsertCommand) and "Insert Text" (that is .uno:InsertConfigName).
Click on either of the new commands -> Crash.

Analysis:
The command .uno:InsertCommand is used for the dispatcher, when the user selects a command in the "Elements" window. It needs as argument the selected item.

The command .uno:InsertConfigName is used for the dispatcher, when the user selects a symbol in the "Symbols" catalog. It needs as argument the selected item.

Both commands should not appear in menu, toolbar or for shortcutkey. They are only usable with the dispatcher, because they need an argument.

Solution:
Remove the commands from main/officecfg/registry/data/org/openoffice/Office/UI/MathCommands.xcu
Set the config items AccelConfig, MenuConfig and ToolboxConfig to "false" in starmath/sdi/smath.sdi