Apache OpenOffice (AOO) Bugzilla – Issue 86416
XSimpleAnimation::start() crashes OOo
Last modified: 2013-02-24 21:10:06 UTC
The com.sun.star.awt.UnoSimpleAnimationControl and the com.sun.star.awt.UnoSimpleAnimationControlModel can be instantieted, the control added to the dialog, the XGraphic sequence set invoking XSimpleAnimation::setImageList(), but XSimpleAnimation::start() simply crashes OOo.
Created attachment 51698 [details] zip folder with an ODT file with sample code and a folder containing the pictures
Note: I am aware the the API project is not the owner of this, but who is? gsl? please feel free to change the component.
jsc -> cd: do you know who is responsible for this control, i assume dv but not sure
Created attachment 51703 [details] WinNT crash report
cd->dv: Could you please have a look.
crashs are usually considered a P2, to be fixed for the next release. Adding keyword, adjusting priority, targeting.
Created attachment 51789 [details] This sample code correct some things in the prevois attachement: the control model is instantiated at the UnoControlDialogModel and I do not use a base control to position the animation, so now you can see that the first XGraphic in the image list is dis
Accepted.
Fixed in cws dv03. There is another problem with your sample code. I'll write a new issue for that problem.
->dv: another problem? please tell me the problem and issue. By the way, now that you're fixing this in a cws, could you fix also http://www.openoffice.org/issues/show_bug.cgi?id=86417 it is about the IDL for the AutoRepeat property And now that we are in it, also http://www.openoffice.org/issues/show_bug.cgi?id=86414 is about the simple animation. As discussed there, in the IDL the names for the services are wrong: com.sun.star.awt.UnoSimpleAnimationControl com.sun.star.awt.UnoSimpleAnimationControl are the actual names one must use But taking a new look at it, shouldn't they be changed to the ones indicated in the IDL? I mean, for consistency with all other toolkit controls: they all are named com.sun.star.awt.UnoControlXxx com.sun.star.awt.UnoControlXxxModel so maybe here the IDL is right, and the service names in the code should be change to be consistent with the rest of UNO controls.
Please verify ( you might need to modify the sample code a little bit because of another bug )
The second Test document - with a few modifications to the BASIC Code - shows that the issue is fixed. However, the first test document causes a crash in the instant the macro is executed from within the BASIC IDE. I have no reference yet so i assume this problem was introduced with the fix to this issue.
Reopen
First sample doesn't set an image for the throbber which leads to the crash when the code tries to show the images
Please verify.
Verified for both test documents.
Whatever the correct behavior was, there is no crash anymore.