Issue 95319 - slideshow: Animation "wipe" effect defect with hardware accelleration enabled
Summary: slideshow: Animation "wipe" effect defect with hardware accelleration enabled
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: ui (show other issues)
Version: OOO300m9
Hardware: PC Windows XP
: P3 Trivial with 4 votes (vote)
Target Milestone: OOo 3.3
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords: oooqa, regression
: 95348 95490 95878 101315 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-10-22 14:40 UTC by helloworld_c
Modified: 2017-05-20 10:29 UTC (History)
5 users (show)

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


Attachments
Test ppt with wipe animations (103.00 KB, application/vnd.ms-powerpoint)
2008-10-22 14:42 UTC, helloworld_c
no flags Details
Wipe animation during the process (with wrong bitmap overlay) (61.92 KB, image/jpeg)
2008-10-22 15:07 UTC, helloworld_c
no flags Details
Wipe animation finished (66.73 KB, image/jpeg)
2008-10-22 15:07 UTC, helloworld_c
no flags Details
Four effects with strange visual results when HW acceleration is enabled (66.15 KB, application/vnd.oasis.opendocument.presentation)
2008-11-27 08:13 UTC, chojin
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description helloworld_c 2008-10-22 14:40:29 UTC
The "wipe" effect can cause bitmap data from the slide master to be overlaid
with the animated portion of the screen during the effect, making it unusable. I
will attach an example ppt presentation (single slide). Just run the slideshow
and press a button several times to see the animations which should all be wipes
from left. There are a lot of them and you can't miss the wrong rendering.
Comment 1 helloworld_c 2008-10-22 14:42:50 UTC
Created attachment 57384 [details]
Test ppt with wipe animations
Comment 2 helloworld_c 2008-10-22 14:47:58 UTC
The same effect with the same sample is working fine in OOo 2.4.1 on the same
platform
Comment 3 wolframgarten 2008-10-22 14:54:35 UTC
Sorry, but I cannot see the problem. The only bitmap on the master is the part
in the upper left corner, blue and red.Everything looks like it PPT shows it.
Anyone else who can confirm this?
Comment 4 helloworld_c 2008-10-22 15:07:15 UTC
Created attachment 57386 [details]
Wipe animation during the process (with wrong bitmap overlay)
Comment 5 helloworld_c 2008-10-22 15:07:44 UTC
Created attachment 57387 [details]
Wipe animation finished
Comment 6 helloworld_c 2008-10-22 15:09:56 UTC
I have attached two screenshots made during slide show presentation. The first
one shows how it looks during the "wiping action", with the bitmap from the
slide master somewhere in there. The second one shows it after the wipe has
finished (correct). You need to press space or left mouse button to advance the
animations.
Comment 7 helloworld_c 2008-10-22 15:16:19 UTC
Just tried it on another PC (laptop with Intel graphics, XP Pro SP3 as well,
OOo300m5). There, the wipe shows mostly black boxes with some of the bitmap from
the logo to the right during the wiping. IOW the screen corruption is slightly
different there, but just as visible if not more so.
Comment 8 andreschnabel 2008-10-29 18:15:55 UTC
confirmed using OOo 3.0.0 on WinXP (ATI HD2600 graphics)

if hardware accelleration is disabled, the animations are correct
Comment 9 andreschnabel 2008-10-29 18:31:21 UTC
*** Issue 95490 has been marked as a duplicate of this issue. ***
Comment 10 thb 2008-10-29 21:06:57 UTC
*** Issue 95348 has been marked as a duplicate of this issue. ***
Comment 11 Rainer Bielefeld 2008-11-05 17:37:29 UTC
Same roots as Issue 95878?
Comment 12 rodejetta 2008-11-10 14:49:47 UTC
Looks like it, my wipe problem looked similar and vanishes when hardware
acceleration is switched of in winXP. As far as I can test, in Linux Suse 11 and
OO3 there is no problem, even with that acceleration switched to ON.
Comment 13 chojin 2008-11-27 08:11:26 UTC
I can also confirm this problem with WinXP SP2 + OOo 3.0 with Intel Graphics.
And not only with the "wipe" effect, but with 3 other effects too.
I'm using OOo300m9 Dutch, so I don't know the names of the effects in English.
But I will attach an ODP file showing all 4 the effects.
The affected effects in Dutch are:
- "Kort weergeven in" (Could be translated as "Shortly displayed in")
- "Wissen" (I think this is the "Wipe" effect spoken of here)
- "Stuiteren" (I would translate this to "Bounce")
- "Schuiven in" (Could be translated as "Slide in" or "Move in")
Anyway, please see the attached ODP file for the right names of the affected
effects.

All of those effects work correctly when Hardware Acceleration is turned off. 
Comment 14 chojin 2008-11-27 08:13:14 UTC
Created attachment 58340 [details]
Four effects with strange visual results when HW acceleration is enabled
Comment 15 wolframgarten 2009-01-20 15:17:34 UTC
*** Issue 95878 has been marked as a duplicate of this issue. ***
Comment 16 thb 2009-04-07 00:04:58 UTC
Could anybody please retry with a recent dev snapshot? I don't see the problem
here anymore (nvidia hw, though).
Comment 17 Rainer Bielefeld 2009-04-07 06:48:29 UTC
I checked with "Ooo Dev 3.2.0 multilingual version German UI WIN XP: [DEV300m44
(Build 9395)]" and can confirm that "testani.ppt" and "OO2-3problem.odp" from 
Issue 95878 look much better, even with active hardware acceleration. Put it's
still not perfect:

Text "source rock" frequently disappears and reappears during running
presentation in "OO2-3problem.odp" (no idea whether that has the same roots as
the reported problem or whether that's something completely new)

Text "Start Bit" will not be shown correctly and text "Node C loses Arbitration"
will disappear after a short moment in "testani.ppt" (no idea ...)

Comment 18 groucho266 2009-04-07 09:27:32 UTC
I can reproduce some painting problems when playing the testani.ppt document. 
The testani1.jpg image looks like a problem that I have fixed not too long ago
and I can not reproduce that.  But the second image looks familiar.  Moreover, I
see slightly different painting errors in the preview of the Presenter Console
and the main screen.
Comment 19 groucho266 2009-04-07 09:53:18 UTC
I can see the paint errors both when hardware acceleration is active or
disabled.  Using a DEV300 m45 on WinXP.
Comment 20 thb 2009-04-07 10:22:52 UTC
confirmed the repaint issues with testani.ppt, not related to dx canvas anymore.
instead, seems to be a clipping misbehaviour when running with the enabled z
order animation feature.
Comment 21 groucho266 2009-04-16 12:04:25 UTC
The clipping problems are caused by an error in the conversion of polygons to
region: when splitting bands of the region the copy constructor of
ImplRegionBand does not correctly copy the points correctly to the new band.

The reason why this problem can be observed only sometimes is that the order in
which the different clipping areas are added to the polygon that is passed from
slideshow to canvas is not defined.  Some orders trigger the problem, some do not.

SVN revision of the fix in vcl/source/gdi/regband.cxx is 270880.
Comment 22 Rainer Bielefeld 2009-04-24 07:00:34 UTC
*** Issue 101315 has been marked as a duplicate of this issue. ***
Comment 23 groucho266 2009-09-14 16:28:18 UTC
Changing target to OOo 3.3
Comment 24 groucho266 2009-10-23 14:35:54 UTC
@wg: Please verify.  Two of the animation are not displayed.  Checked that on
some other versions (not related to this cws) and found the same problem.  Looks
like a problem in the master.  Have to fix this in a later cws.
Comment 25 wolframgarten 2009-10-27 10:45:59 UTC
Verified in CWS.