Issue 35172 - insert a command twice in a new menu -> GPF
Summary: insert a command twice in a new menu -> GPF
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: atr
QA Contact: issues@framework
URL:
Keywords:
: 37554 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-10-08 09:15 UTC by atr
Modified: 2004-11-29 13:39 UTC (History)
1 user (show)

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


Attachments
Toolbar with multiple assigned Commands (27.12 KB, image/png)
2004-11-05 14:44 UTC, mci
no flags Details
toolbar docked (28.37 KB, image/png)
2004-11-05 14:45 UTC, mci
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description atr 2004-10-08 09:15:31 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)
Comment 1 atr 2004-10-08 09:17:09 UTC
.
Comment 2 tomaisoc 2004-10-08 10:01:44 UTC
The ResourceID for the InfoBox was not being obtained using the appropriate
ResourceManager. This is fixed in the docking4 CWS.
Comment 3 tomaisoc 2004-11-05 09:50:12 UTC
.
Comment 4 tomaisoc 2004-11-05 09:50:35 UTC
.
Comment 5 tomaisoc 2004-11-05 09:50:47 UTC
.
Comment 6 mci 2004-11-05 14:41:36 UTC
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....
Comment 7 mci 2004-11-05 14:44:11 UTC
Created attachment 18984 [details]
Toolbar with multiple assigned  Commands
Comment 8 mci 2004-11-05 14:45:29 UTC
Created attachment 18985 [details]
toolbar docked
Comment 9 mci 2004-11-05 14:49:06 UTC
reopening 
Comment 10 mci 2004-11-05 14:51:48 UTC
back to toconnor...

mci -> toconnor: Hi toconnor, I need to send this back to you, sorry...
Comment 11 tomaisoc 2004-11-05 15:13:48 UTC
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.
Comment 12 tomaisoc 2004-11-05 15:19:16 UTC
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.
Comment 13 carsten.driesner 2004-11-05 16:01:01 UTC
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.
Comment 14 tomaisoc 2004-11-05 16:32:19 UTC
reassigning as mci is not available
Comment 15 atr 2004-11-08 08:38:58 UTC
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.
Comment 16 carsten.driesner 2004-11-08 08:40:11 UTC
.
Comment 17 thorsten.martens 2004-11-08 08:50:54 UTC
Checked and verified in cws docking4 -> OK !
Comment 18 tomaisoc 2004-11-23 13:14:49 UTC
*** Issue 37554 has been marked as a duplicate of this issue. ***
Comment 19 atr 2004-11-29 13:39:38 UTC
ATR: checked again in masterbuid m63, fixed.