[Libreoffice-bugs] [Bug 108450] Shrinking of grow/ shrink custom animation effect does not work

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jun 11 15:14:23 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=108450

--- Comment #6 from Regina Henschel <rb.henschel at t-online.de> ---
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 bug 48918, 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 bug 48918 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170611/a108320b/attachment.html>


More information about the Libreoffice-bugs mailing list