Issue 120469 - Calc crashes when duplicating a button on dialog editor by copying and pasting
Summary: Calc crashes when duplicating a button on dialog editor by copying and pasting
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Normal
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2012-08-06 11:25 UTC by snoff
Modified: 2013-02-24 21:00 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description snoff 2012-08-06 11:25:52 UTC

I have a problem in dialog editor since Aoo 3.4.0 (on windows XP). I need to duplicate a text button. For this, i copy the button, and then, i paste it.

When the button is just created, it seems to work fine (the label of the button is &202.DialPVA6463phrasestypes.CommandButton3.Label, and the help text is &201.DialPVA6463phrasestypes.CommandButton3.HelpText).

I change the properties of the original button, remplacing the label by the text "text button" and the help text by "help text".

Then, i select the original button i've just changed, i copy it in the clipboard, and when i paste the button, it crashes OpenOffice.

My goal was to clone button to obtain more buttons with the same sizes (without copying manually all properties).

The behavior is the same with checkboxes (after modifiing the label and the help text), copying and pasting the checkbox crashes OpenOffice too.

The crash occurs when i change the label of component (checkbox or command button and maybe more ...). I've just created a checkbox, changed the label, copied in the clipboard and pasted it as new check box -> crash

The crash occurs when i change the help text only too.

It's just annoying but not critical.

Thanks for your work.

Comment 1 hanya 2012-08-09 17:22:58 UTC
Even the dialog library is translated, initial label of new button should be 
normal text like "CommandButton1". Resource id should not be shown in the 
property browser.

I got the following message with crash at pasting the button, on Linux environment: 
terminate called after throwing an instance of 'com::sun::star::resource::MissingResourceException

Maybe this problem is there on All platform.