Bug 132850 - BLINK animation: wrong balance between hidden and visible timings of a blinking element.
Summary: BLINK animation: wrong balance between hidden and visible timings of a blinki...
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-08 17:27 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-08 17:27:06 UTC
Description:
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.

Steps to Reproduce:
Let's suppose we want to apply a repeating 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 1 sec and a Repeat value of 10.

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

 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.



Actual Results:
The total duration of the animation is about 5-6 seconds instead of the 10 seconds you would expect (1sec x 10 repetitions = 10 sec). 
And the blinkings look very strange, because the time during which the element is visible is too little compared to the time it's hidden, so the blinking animation is not much usable in this way. I don't see other parameters that you can change to balance the time the blinking element is hidden vs the time the element is visible.

Expected Results:
You would expect an animation with a total duration of 10 seconds (1sec x 10 repetitions = 10 sec). And you would expect the time the element remains hidden to be the same of the time the element remains visible. For example, in a blinking of 1 sec you would expect that for 0.5 sec the element is hidden and the other 0.5 sec is visible.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
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-08 17:30:21 UTC
In addition to Windows, I also 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 QA Administrators 2022-05-09 03:29:16 UTC Comment hidden (obsolete)
Comment 3 Mauro 2022-05-09 16:04:28 UTC
Bug confirmed on the latest Libreoffice version I downloaded today. 

Informations 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 4 BogdanB 2023-08-16 16:58:05 UTC
Mauro, bugs stays in Unconfirmed mode, until someone else can confirm the behavior. Thanks.
Comment 5 Mauro 2023-08-17 11:29:09 UTC
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 6 Buovjaga 2023-09-19 16:56:48 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