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 ...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.4.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.2.0
Keywords:
Depends on:
Blocks:
 
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:


Attachments

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
Description:
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:
Version: 6.4.2.2
Build ID: 6.4.2.2-1.fc32
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":

https://git.libreoffice.org/core/commit/1da19c31d3b8f8e0eba1ffcffe7b89f90c4171d4

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:
https://wiki.documentfoundation.org/Testing_Daily_Builds

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: 7.3.0.0.alpha1+ / 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

Closing as VERIFIED FIXED

@Edward Lynch, thanks for fixing this issue!