Bug 116736

Summary: Add morph transition like Microsoft has to impress.
Product: LibreOffice Reporter: graymatter42
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: caolan.mcnamara, cuyan079, gerald, hans, heiko.tietze, ilmari.lauhakangas, josephsalaskutty79, megumi.fazakerley, roberto.salomon
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103704    
Attachments: Sample Template Using Morph

Description graymatter42 2018-04-02 01:06:51 UTC
Description:
The morph transition in Microsoft Powerpoint is very powerful. It would allow us to somewhat mimic the transitions found in Prezi presentations.

Actual Results:  
No awesome morph transitions.

Expected Results:
Awesome morph transitions.


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Comment 1 Buovjaga 2018-04-02 17:24:11 UTC
Please include a link or something, so it will be obvious what you are talking about.
Comment 2 graymatter42 2018-04-08 00:29:56 UTC
The following is a link that gives several examples of what the morph transition can do, as well as an explanation of how it works starting 2 minutes in to the video:
https://www.youtube.com/watch?v=8xqGZ6eyrKM

The following video demonstrates how this morph transition can be used to replicate the Prezi panning and zooming effects:
https://www.youtube.com/watch?v=uYu4cnSEcwY&t=452s
Comment 3 Buovjaga 2018-04-08 13:42:57 UTC
Ok -> NEW
Comment 4 Buovjaga 2018-04-09 11:11:04 UTC Comment hidden (obsolete)
Comment 5 Daniel 2018-10-12 14:02:58 UTC
Created attachment 145656 [details]
Sample Template Using Morph
Comment 6 Daniel 2018-10-12 14:11:11 UTC
(In reply to Daniel from comment #5)
> Created attachment 145656 [details]
> Sample Template Using Morph

This evidence template may be help to develop and debug in LibreOffice.
Comment 7 Roman Kuznetsov 2019-06-24 09:59:29 UTC
*** Bug 126027 has been marked as a duplicate of this bug. ***
Comment 8 Heiko Tietze 2023-03-13 09:16:33 UTC
Sounds like an "automatic path" animation as slides transition. Caolan, want to work on it - or mentor a GSoC project? :-)
Comment 9 Megumi 2023-03-13 10:12:18 UTC
As I understand it, 'Morph' (from MS PowerPoint) or 'Magic Wand' (from Apple Keynote) is essentially a transition mode by AUTOMATED COMBINATION of OBJECT-BASED ANIMATION (like, move, scale, dissolve-disappear, dissolve-appear).

For a transition from SLIDE-A to SLIDE-BN, this auto-combo transition has to do these things:

[STAGE 1]
Compare SLIDE-A and SLIDE-B to analyse objects on each slide for their size and location.

[STAGE 2]
Apply appropriate animation to each object according to the following categories:
[2.a]For objects that are common to SLIDE-A ad SLIDE-B:
  [2.a.i] For objects with different sizes, apply scale at an appropriate factor.
  AND (simultaneously)
  [2.a.ii] For objects with different locations, apply move on an appropriate path.
[2.b] For objects that are only on SLIDE-A or SLIDE-B:
  [2.b.i] For objects that are only on SLIDE-A, apply dissolve-disappear.
  AND (simultaneously)
  [2.b.ii] For objects that are only on SLIDE-B, apply dissolve-appear.

The end result is that SLIDE-A appear to transition to SLIDE-B smoothly as if by 'morphing' or by 'magic'. 

It will be wonderful if someone can work on this to make it available in Impress.
Comment 10 Saren Tasciyan 2023-12-01 13:49:18 UTC
Perhaps, one can generalize math operations for morph by linear interpolation for all numerical properties. This can be anything, font size, position, rotation, opacity, shadow distance/blur etc.

One thing I am worried about are copied objects and don't now how LO handles this. How can LO link 2 objects between two slides, which need to be transitioned?

This would be a great feature though.
Comment 11 Clint 2024-01-26 10:53:54 UTC
(In reply to Saren Tasciyan from comment #10)
> Perhaps, one can generalize math operations for morph by linear
> interpolation for all numerical properties. This can be anything, font size,
> position, rotation, opacity, shadow distance/blur etc.
> 
> One thing I am worried about are copied objects and don't now how LO handles
> this. How can LO link 2 objects between two slides, which need to be
> transitioned?
> 
> This would be a great feature though.

Based on Powerpoint tutorials I've seen, it connects objects between slides using a label applied to the selection. The naming scheme format for morphing automatically uses the label with "!!" (e.g., !!Shape1). I don't have Powerpoint, so I'm uncertain if this is entirely necessary.

Perhaps the "Name" property could be used for this, though currently it appears that the same custom name can only be applied to a single instance in the whole presentation.
Comment 12 ayman2011a 2024-02-15 00:50:20 UTC
I hope to add a morph feature in the next version of impress
Comment 13 Buovjaga 2024-06-08 12:04:17 UTC
*** Bug 161472 has been marked as a duplicate of this bug. ***