Bug 132777 - "Blink" animation timings are not applied correctly.
Summary: "Blink" animation timings are not applied correctly.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.3.5.2 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Object-Animations
  Show dependency treegraph
 
Reported: 2020-05-06 15:08 UTC by Mauro
Modified: 2023-09-19 16:59 UTC (History)
2 users (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 Mauro 2020-05-06 15:08:26 UTC
Description:
The timings of the "Blink" animation applied to an element are so wrong that the effect is unusable.

Steps to Reproduce:
Let's suppose we want to apply a blinking effect to some element in a page (not just to a text).

1. Create a new presentation and create some element like a Rectangle or an Ellipse.

2. Select the element and add the "Emphasis: Blink" effect to it, and set the Duration of the effect to some value like 10 seconds.

3. Start the presentation (F5) and click to start the animation.





Actual Results:
You'll see that the animation duration is not what you set, but something like the half of it. For example, if you set a duration of 10 seconds, the animation will only last for 5 or 6 seconds.

Expected Results:
If I set a duration of 10 seconds (and no repetitions) I expect the animation to last 10 seconds.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Another problem (I think is related to the above problem) is that if you want to repeat the blinking animation (well, usually just a single blink is not much useful!) the blinking itself will be very strange, much much faster of what you would expect and not much usable, because the time the element is visible is too little compared to the time it's hidden. For example, if you set a Duration of 1 sec and a Repeat value of 10, you would expect 10 blinkings of 1 second each one (so, the animation should last 10 seconds in total). Instead, what you get are 10 strange blinkings (as I said before, during a single blinking, the time in which the element is visible is too little) in about 5-6 seconds.

Bug present on versions: 6.3.6.2 (x64) and 6.4.3.2 (x64). I don't know if it affects earlier versions too.
Comment 1 Mauro 2020-05-07 13:51:07 UTC
Today I tried on Ubuntu 18.04 LTS: LibreOffice Version: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.10. In this environment the Repeat value doesn't work at all! Whatever value you use for the Repeat field, nothing changes in the animation...
Comment 2 Julien Nabet 2020-05-08 13:45:52 UTC
Please don't put several problems on the same bugtracker.
One bug per bugtracker.
Comment 3 Mauro 2020-05-08 17:04:56 UTC
(In reply to Julien Nabet from comment #2)
> Please don't put several problems on the same bugtracker.
> One bug per bugtracker.

Sorry, you are right. 
I think the 2 problems are related but I will file a new bug report for it.
Comment 4 QA Administrators 2022-05-09 03:29:12 UTC Comment hidden (obsolete)
Comment 5 Mauro 2022-05-09 16:03:31 UTC
Bug confirmed on the latest Libreoffice version I downloaded today. 

Informations from from Help - About LibreOffice:

Version: 7.3.3.2 (x64) / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: en-GB
Calc: threaded
Comment 6 BogdanB 2023-08-16 16:59:02 UTC
The same thing here, please let the bug in Unconfirmed status, until someone else can confirm it.
Comment 7 Mauro 2023-08-17 11:32:07 UTC
(In reply to BogdanB from comment #6)
> The same thing here, please let the bug in Unconfirmed status, until someone
> else can confirm it.

Hi, I confirm the bug is always present. I just tried again today to reproduce the bug with the last Libreoffice release (7.5.5.2 x64) on a Windows 10 machine and the 7.3.7.2 x64 release on an Ubuntu 22.04.3LTS machine.

I see that this bug has been open since 2020 and so far no one has taken an interest in it (probably because, in the Libreoffice suite, Impress is used much less compared to Writer or Calc), but being that it's very easy to reproduce, can you try yourself and change again the status bug? Thanks.

P.S.: there is an Impress version where the "blink" effect works as expected: is the OpenOffice version 4.1.13. I know that is not Libreoffice, but the codebase should be about the same, right? So maybe some developer could check what is gone wrong in that part of code...
Comment 8 Buovjaga 2023-09-19 16:59:42 UTC
Repro

Arch Linux 64-bit, X11
Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 60(Build:3)
CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.6.0-2
Calc: threaded