Apache OpenOffice (AOO) Bugzilla – Issue 120096
wipe up and wipe down effect works fail in Aoo 3.4,but ok in OO3.3
Last modified: 2012-07-25 09:24:23 UTC
build info:OOo_dev3.4.1 Rev.1351960 steps: 1.launch OO and new a presentation 2.set the slide transition as wipe up or wipe down defect: wipe up and wipe down effect doesn't play normally.
add slide transition effect: box out effect is also lost
Confirm at my side
set release blocker flag for 3.4.1
Taking over.
I can not yet see the problem with the wipe effects. I created a new presentation with two shapes. Via the "Custom Animation" dialog I assigned the effect Entrance/Basic/Wipe to one shape and Exit/Basic/Wipe to the other. In the slideshow both effect look as expected. @bjdujing: Did you use the effects I mentioned above? What exactly means "doesn't play normally"?
(In reply to comment #5) > I can not yet see the problem with the wipe effects. I created a new > presentation with two shapes. Via the "Custom Animation" dialog I assigned > the effect Entrance/Basic/Wipe to one shape and Exit/Basic/Wipe to the > other. In the slideshow both effect look as expected. > > @bjdujing: Did you use the effects I mentioned above? What exactly means > "doesn't play normally"? Hi,the defect is about "slide transition",no custom animation. and the defect is only happened on the linux.
Ah, I see. Thanks. The problem is that the effect is not visible, the second slide is fully visible at once. From the debugger I can see that the effect is active though. Additionally, the bug can be reproduced on Windows, too. Use Tool->Options->View to turn of hardware acceleration. Changing platform to all.
This is a clipping problem. For the very first frame of the animation the clip rectangle is empty. This is handled incorrectly and is interpreted as no clip. Result: the whole incoming page is painted. The following frames are painted correctly (but that is not visible because the first frame already uncovered the whole slide.) Bug 118855 seems to fix a similar problem. There are at least two ways to fix this: - Handle regions with empty clip polygons correctly. This might lead to regressions though. - The clip area in the wipe animations is rectangular. The Region objects that represent the clip areas could use one band instead of the original polygon. That would fix the bug and would be an optimization.
Bug 118855 and previous and a previous change of VCL's Region class (support of polygons) are the root cause: the animation uses an empty clip polygon for the first frame. This is not correctly detected by the Region object that is created to wrap the polygon. The resulting region is then interpreted as "no clip" instead of "empty clip area" and the whole new slide is painted. Fixed by improving the Region constructor that handles B2DPolyPolygons so that it detects empty polygons and represents them as an empty region. SVN revision on trunk is 1357698.
"af" committed SVN revision 1359641 into branches/AOO34: #i120096# Detect empty polygon in Region constructor and set impl object acco...
Merged fix to 3.4.1 branch.
Verified steps: 1)create a new presentation 2)create two slides, and enter some words in title 3)set the first slide with Wipe Up Transition, then check the Wipe up preview 4)set the second slide with Wipe Up Transition, then check the Wipe down preview 5)Press F5 to Slide show Results: 1)Wipe up preivew is correct in the first slide. 2)Wipe down preview is correct int the second slide. 3)After slide show, the first slide show is ok, but the second slide is fully visible at once. the wipe down transition take effect on text in title, not total slide. build: AOO341 branch r1359641 on Windows XP
I can not reproduce the new problems. @Li Feng Wang: Can you provide an example file that shows the problem?
Sorry, I use default master page. And two slides are all white. So I can't see the effect in the second slide. Pass wih AOO341 branch r1359641 on Windows XP
Verified pass on AOO trunk r1362376.
set target milestone AOO 3.4.1