Bug 134665 - [SLIDESHOW] Miscalculation of size of a shape/object in Animation : Emphasis - Grow and Shrink
Summary: [SLIDESHOW] Miscalculation of size of a shape/object in Animation : Emphasis ...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Whiteboard: target:7.2.0
Depends on:
Reported: 2020-07-08 20:34 UTC by Niha
Modified: 2021-11-23 10:33 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Niha 2020-07-08 20:34:22 UTC
when we draw any shape object like rectangle or circle and animate it using "Grow and Shrink" effect of Emphasis category, impress seems to miscalculate the resulting size of the shape.
it can be easily observed by choosing animate size 101%.
I believe the shape should grow 1% to become 101% of its original size, but it grows 101% to become 201% of its original size.

It is a miscalculation because when we animate the shape size  90% (enter the size value 90%), the shape reduces to 90% of its original size by reducing its size by 10%.

Steps to Reproduce:
1. Add any Object (rectangle or circle)
2. Choose Animation Category : Emphasis - Effect : Grow and Shrink
3. Choose a value 101%

Actual Results:
object size grows to 201% (increase in 101%)

Expected Results:
object size should grow to 101% (should increase only 1%)

Reproducible: Always

User Profile Reset: No

OpenGL enabled: Yes

Additional Info:
Build ID:
CPU threads: 4; OS: Linux 5.6; UI render: default; VCL: gtk3; 
Locale: en-IN (en_IN.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Commit Notification 2021-05-19 08:42:06 UTC
Edward Lynch committed a patch related to this issue.
It has been pushed to "master":


tdf#108450 and tdf#134665 Fix Impress Grow/Shrink Animation Scaling

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.
Comment 2 Xisco Faulí 2021-11-23 10:33:04 UTC
Verified in

Version: / LibreOffice Community
Build ID: 5a00326951690d820d8ea5412a93aadf3da42dc1
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded


@Edward Lynch, thanks for fixing this issue!