Bug 96537 - [ANIMATION] Animation "BLAST" does not work
Summary: [ANIMATION] Animation "BLAST" does not work
Status: RESOLVED DUPLICATE of bug 96522
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.0.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-16 13:50 UTC by Olivier Hallot
Modified: 2016-01-14 15:58 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
file containing object with blast animation (11.38 KB, application/vnd.oasis.opendocument.presentation)
2015-12-16 13:50 UTC, Olivier Hallot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2015-12-16 13:50:28 UTC
Created attachment 121342 [details]
file containing  object with blast animation

Animation Emphasis:blast does not work

File attached shows that blast animation in object does nothing.
Comment 1 raal 2015-12-16 16:31:32 UTC
I can not confirm with Verze: 5.0.3.2
ID sestavení: e5f16313668ac592c1bfb310f4390624e3dbfb75, win7
Comment 2 Julien Nabet 2015-12-16 21:12:56 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.
There's no effect on the cube after having launched the animation (F5)

I noticed these logs on console:
warn:legacy.osl:2492:1:slideshow/source/engine/animationnodes/nodetools.cxx:59: lookupAttributableShape(): no shape found for given XShape
warn:legacy.osl:2492:1:slideshow/source/engine/animationnodes/animationnodefactory.cxx:564: implCreateAnimationNode(): child node creation failed
warn:legacy.osl:2492:1:slideshow/source/engine/animationnodes/animationnodefactory.cxx:91: NodeCreator::operator(): child creation failed
warn:legacy.osl:2492:1:slideshow/source/engine/slide/slideimpl.cxx:940: SlideImpl::applyInitialShapeAttributes(): no shape found for given target
warn:legacy.osl:2492:1:slideshow/source/engine/slide/slideimpl.cxx:940: SlideImpl::applyInitialShapeAttributes(): no shape found for given target
Comment 3 Julien Nabet 2015-12-16 21:59:40 UTC
Tomaž: I noticed different problems
1) It seems we can save a shape with a custom effect.
Indeed, putting a entrance effect (eg "box") on a shape from a brand new file works.
But if you save the file and reopen it, the object appears as "-1" instead of "Shape 1" (as I got before closing the file).
So I understand the reason of this message:
warn:legacy.osl:4325:1:slideshow/source/engine/animationnodes/nodetools.cxx:59: lookupAttributableShape(): no shape found for given XShape

2) When I tried to put blast effect on a shape of a brand new file, console showed a lot of these:
warn:legacy.osl:4019:1:slideshow/source/engine/animationfactory.cxx:142: TupleAnimation::operator(): Invalid ShapeAttributeLayer
warn:legacy.osl:4019:1:slideshow/source/engine/animationfactory.cxx:525: GenericAnimation::operator(): Invalid ShapeAttributeLayer

BTW, I tried to bt in gdb but had this:
(gdb) bt
#0  0x00002aaaef106512 in slideshow::internal::LayerManager::lookupShape(com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&) const (this=0x9b561b0, xShape=uno::Reference to (SvxCustomShape *) 0x2e992a8) at /home/julien/compile-libreoffice/libreoffice/slideshow/source/engine/slide/layermanager.cxx:315
#1  0x00002aaaef120947 in slideshow::internal::ShapeManagerImpl::lookupShape(com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&) const (this=0x9b58f10, xShape=uno::Reference to (SvxCustomShape *) 0x2e992a8) at /home/julien/compile-libreoffice/libreoffice/slideshow/source/engine/slide/shapemanagerimpl.cxx:257
#2  0x00002aaaeeffe0ec in slideshow::internal::lookupAttributableShape(boost::shared_ptr<slideshow::internal::ShapeManager> const&, com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&) (rShapeManager=
    boost::shared_ptr {<slideshow::internal::Disposable> = {_vptr.Disposable = 0x2aaaef579f50 <vtable for slideshow::internal::ShapeManagerImpl+16>}, <No data fields>}, xShape=uno::Reference to (SvxCustomShape *) 0x2e992a8) at /home/julien/compile-libreoffice/libreoffice/slideshow/source/engine/animationnodes/nodetools.cxx:56
#3  0x00002aaaeefdc2e8 in slideshow::internal::AnimationBaseNode::AnimationBaseNode(com::sun::star::uno::Reference<com::sun::star::animations::XAnimationNode> const&, boost::shared_ptr<slideshow::internal::BaseContainerNode> const&, slideshow::internal::NodeContext const&) (this=0x9b64450, xNode=
Python Exception <class 'RuntimeError'> maximum recursion depth exceeded: 
Fatal Python error: Cannot recover from stack overflow.

Current thread 0x00002b3a3d90b840 (most recent call first):
  File "/home/julien/compile-libreoffice/libreoffice/solenv/gdb/libreoffice/util/printing.py", line 60 in basic_type
  File "/home/julien/compile-libreoffice/libreoffice/solenv/gdb/libreoffice/util/printing.py", line 51 in _basic_type
  File "/home/julien/compile-libreoffice/libreoffice/solenv/gdb/libreoffice/util/printing.py", line 42 in __getitem__
  File "/home/julien/compile-libreoffice/libreoffice/solenv/gdb/libreoffice/util/printing.py", line 104 in __call__
  File "/home/julien/compile-libreoffice/libreoffice/solenv/gdb/libreoffice/cppu.py", line 51 in to_string
  File "/home/julien/compile-libreoffice/libreoffice/solenv/gdb/boost/smart_ptr.py", line 40 in to_string
  File "/home/julien/compile-libreoffice/libreoffice/solenv/gdb/boost/smart_ptr.py", line 40 in to_string
  File "/home/julien/compile-libreoffice/libreoffice/solenv/gdb/boost/smart_ptr.py", line 40 in to_string
...
Thought you might be interested.
Comment 4 Armin Le Grand 2016-01-14 08:29:02 UTC
Tested with fix for tdf#96522, same problem. Thanks to raal for hinting.

*** This bug has been marked as a duplicate of bug 96522 ***