Apache OpenOffice (AOO) Bugzilla – Issue 120994
custom shape will changed to Rectangle after finishing playing Emphasis Special animation
Last modified: 2022-10-28 12:54:26 UTC
Created attachment 79534 [details] sample file Build: Aoo_Trunk_20120914.1800 Revision :1384699 Steps: 1. Open attached odp file in AOO 2. Press F5 to play animation. Bug: After finishing playing animation, other shapes all changed to Rectangle
Only custom shapes are effected. Animating a classical shape works as expected. There are similar errors with other fill effects, read issue 116582, issue 120198. The animation is correct in OOo3.2.1., set keyword "regression".
Except of Rectangle and Square, other shapes will change to Rectangle or Square after finishing playing Emphasis Special animation
ALG: Problem seems to be the kind the effect is executed in the slideshow; a FillCOlor is determined and pre-set, the META_FILLCOLOR_ACTIONs in the metafile are then ignored. This leads to the META_FILLCOLOR_ACTIONs switching off fill to be ignored, too. This may have been no problem in OOo3.2.1, but in more current metafiles are rectangles contained with META_FILLCOLOR_ACTION and META_LINECOLOR_ACTION none so that the range of the object is correct. WIth the methodology above these will be painted in the transition color. It can also be seen that the initial paint of the object is correct, probably because no preset color is used and the correct interpretation of the metafile action is used. It is no alternative to avoid the empty rectangles in the metafile, this would invalid the object range again (which is fetched as Metafile BoundRect currently, primitives would be more reliable here). I will try to add reacting on the ignored MetafileActions.
"alg" committed SVN revision 1489018 into trunk: i120994 Corrected Line/FillColor OnOff state handling
ALG: Okay, solved, checked in, done.
"alg" committed SVN revision 1489463 into trunk: i120994 Avoid same error for META_TEXTFILLCOLOR_ACTION and META_TEXTLINECOLOR...