<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Shrinking of grow/shrink custom animation effect does not work"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108450#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Shrinking of grow/shrink custom animation effect does not work"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108450">bug 108450</a>
from <span class="vcard"><a class="email" href="mailto:rb.henschel@t-online.de" title="Regina Henschel <rb.henschel@t-online.de>"> <span class="fn">Regina Henschel</span></a>
</span></b>
<pre>The reason seems to be in the UI. The feature itself works.
Currently LibreOffice writes the attribute smil:by. The values given there are
added to the existing value of the animated attribute, here "scale". An
unscaled shape has a scale value of 1.
With the UI in LO 3.5.4.2 a setting of "vertical tiny" is written as
smil:by="0,0.25". The result is, that the new scale becomes 1.0+0.0=1.0 in
x-direction and 1.0+0.25=1.25 in y-direction. The value of the scale-attribute
is a factor, so the resulting shape is 125% of the original shape in vertical
direction.
The UI in current master, after fix for <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - FORMATTING: grow / shrink custom animation effect still missing"
href="show_bug.cgi?id=48918">bug 48918</a>, is worse. It writes
smil:by="0,0" for that.
The correct value for getting a shape which is shrunken to 25% of the original
size in vertical direction would be smil:by="0,-0.75".
The current UI is bad and therefore I had warned in <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - FORMATTING: grow / shrink custom animation effect still missing"
href="show_bug.cgi?id=48918">bug 48918</a> to simple
reactivate it.
The UI needs to give the ability to set grow/shrink with (nearly) arbitrary
values and independent for x- and y-direction.
Instead of writing the smil:by attribute it would be possible to use the
smil:to attribute as well. That would result in smil:to="1,0.25" for the above
example.
I will attach two examples, which show, that LibreOffice can interpret the
smil:by attribute with negative values and the smil:to attribute as well. Only
the UI is inadequate.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>