Issue 58102 - Toggling 'Animate Attached Shape' causes crash
Summary: Toggling 'Animate Attached Shape' causes crash
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: ui (show other issues)
Version: 680m139
Hardware: All Windows XP
: P2 Trivial (vote)
Target Milestone: ---
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-18 12:13 UTC by adilallawi
Modified: 2013-08-07 15:20 UTC (History)
1 user (show)

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


Attachments
Slide with custom animation (50.77 KB, application/vnd.sun.xml.impress)
2005-11-18 12:19 UTC, adilallawi
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description adilallawi 2005-11-18 12:13:18 UTC
-Created a new presentation with three paragraphs in the main outline text area.
Selected the outline text object and created a new Custom Animation for it. 
-Edited the Custom Animation object by double-clicking on it and set the 'Group
Text' to 'By 1st level paragraphs' in the 'Text Animation' tab
-Edited the Custom Animation object again and switched OFF 'Animate Attached Shape'.
-Edited the Custom Animation object again and switched ON 'Animate Attached Shape'.
-Edited the Custom Animation object again and switched OFF 'Animate Attached Shape'.
-->Crash

Note 
- on the third time I toggle it OpenOffice crashes. The attached document will
crash the second time I toggle Animate Attached Shape.

- This a slight improvement over OOo 2.0 which crashes the first time.
Comment 1 adilallawi 2005-11-18 12:19:27 UTC
Created attachment 31606 [details]
Slide with custom animation
Comment 2 wolframgarten 2005-11-18 12:31:16 UTC
Reproducible. Reassigned.
The ID of the error report is rgjdj8.
Comment 3 clippka 2005-11-24 16:44:44 UTC
fixed on cws sj31,

MainSequence::setTrigger() crashed because the shape animation effect didn't had
an effectsequence set. Fixed setTrigger to handle effectsequence pointers of zero.

The problem surfaced because CustomAnimationEffect::clone() created a
CustomAnimationEffect which didn't copied the effectsequence from its original
effect. The cloning happened during creation of the animation effect for the shape.

I also added an assertion to CustomAnimationPane::changeSelection() for shapes
without an effectsequence. This should not happen and such effects are now ignored
Comment 4 clippka 2005-12-05 15:28:08 UTC
verified in cws, back to qa

re-open issue and reassign to wg@openoffice.org
Comment 5 clippka 2005-12-05 15:28:41 UTC
reassign to wg@openoffice.org
Comment 6 clippka 2005-12-05 15:29:26 UTC
reset resolution to FIXED
Comment 7 wolframgarten 2005-12-13 14:20:29 UTC
Verified in CWS.
Comment 8 wolframgarten 2006-01-11 13:02:18 UTC
Tested in master m149. Closed.