Apache OpenOffice (AOO) Bugzilla – Issue 35172
insert a command twice in a new menu -> GPF
Last modified: 2004-11-29 13:39:38 UTC
- go to 'customize toolbar...' - open the menu tabpage - create a new menu - click the 'add' button to add a command in this menu - choose a command and add this two times -> GPF Error: d:\so8_m55\program\resource\ofa680en-US.res Class: InfoBox, Id: 363. Cannot load resource! Resource Stack Abort ? ( Yes=abort / No=ignore / Cancel=core dump)
.
The ResourceID for the InfoBox was not being obtained using the appropriate ResourceManager. This is fixed in the docking4 CWS.
no GPF anymore, but the commands are inserted in different ways; the first using the icon, the second using the text... :( I'll attach a screenshot....
Created attachment 18984 [details] Toolbar with multiple assigned Commands
Created attachment 18985 [details] toolbar docked
reopening
back to toconnor... mci -> toconnor: Hi toconnor, I need to send this back to you, sorry...
TOC->MCI: The crash when adding a duplicate menu item is fixed so I don't think this bug should be reopened because of a different issue.
Each toolbar item is inserted by the Customize dialog code in exactly the same way so this seems to be a problem with the way the toolbar items are handled by the layoutmanager.
CD->MCI/ATR: I must confess that this is currently a limitation of my toolbar implementation. It uses a hash map to make a one-to-one association between command URL and toolbar button, so only one toolbar item can get an image. As Tomas correctly mentioned this problem is not related to his crash and shouldn't block this bug. Please write a new issue and send it to me.
reassigning as mci is not available
ATR: The bug with the gpf is fiwxed. So I change the state of this issue to 'verifed'. The new bug gets the ID i36816.
Checked and verified in cws docking4 -> OK !
*** Issue 37554 has been marked as a duplicate of this issue. ***
ATR: checked again in masterbuid m63, fixed.