Apache OpenOffice (AOO) Bugzilla – Issue 70772
Animated GIF is not visible
Last modified: 2007-01-26 14:35:43 UTC
An animated image is not visible with OO Impress, if it is build from raster images (jpg, png etc.) (presentation mode and editing mode). There is only a frame visible, but a correct export to an animated GIF is possible. Building an animated image with OO based on drawing elements (boxes, circles...) are working and visible. Some animations build with older versions of OO (older means older than OO 2.0.3) are visible (and running), most of them do not (can't find out the reason for this strange behaviour). I tested the german 2.0.4 and also the developer version 2.1.x. It had been no problem to present these animated images with version 2.0.3.
Reassigned.
Set to new and change the target.
I can reproduce the bug. There are 2 other issues which sounds similar in my mind. - issue 67213 - issue 65712 Maybe this issue is douplicate to one of this issues. Please have a look.
Issues 67213 and 65712 seems to be similar, but in opposite to 67213 I had no problems to present the animated images with OO 2.0.3. And differently from 65712 the animated image is invisible without any resizing.
cl->aw: Is this drawing layer or more thb?
AW: Looks more as if the Animator (insert/animated image...) is broken and does not create valid animated gifs. Interestingly, when You clear the animator again, select the bitmap object created from bitmaps and use the 'apply objects individually' button, all three part-pics are re-imported to the animator. AW: AFAIK the animator uses VCL to create an animated image. I will take a look at the animator first...
AW: Found in SD, class is AnimationWindow, ResID is FLT_WIN_ANIMATION, file is sd\source\ui\dlg\animobjs.cxx. Looks like the animation is created in AnimationWindow::CreateAnimObj(). A vcl Animation is filled and added as SdrGrafObj at last. Dispose mode for all frames is DISPOSE_BACK. AW: In svx, i get a correct Animation with 3 steps and the correct timings. An AnimationInfo is created, too. AW: Letting it run, it works. Tested in a SRC680 m196. I tested before investigating, so i don't know why it is working now, maybe i testedon a nother version or it has to do with pro/nonpro/debug build. Hmmm...
AW: Oops, i have to look at the bitmap case. There, i get a correct AnimInfo, too, but the single BitmapEx steps from the Animation do not have masks. This may need to reflected in handling the DISPOSE_BACK case in playback preparation...
AW: Indeed, the mask is empty. It is necessary not only to erase the mask, but then draw a black rectangle of bitmap size to the mask.
AW: Fixed in ainfographic.cxx, checked in.
AW: Adapting target AW->WG: Please verify. Simple way: -Impress, draw 2 different ellipses, convert each to bitmap -insert/animated image, select 1st, Appy object, select 2nd, apply object -change to bitmap object, create Before fix, an object was added and selected, but nothing was visible.
*** Issue 73617 has been marked as a duplicate of this issue. ***
Verified in CWS.
Tested in m201. Closed.