eww icon indicating copy to clipboard operation
eww copied to clipboard

[BUG] `revealer` animations have a fixed frame count

Open Vermoot opened this issue 2 years ago • 2 comments

Checklist before submitting an issue

  • [X] I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
  • [X] I have specifically verified that this bug is not a common user error
  • [X] I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug

When using a revealer widget, animations seem to have a fixed frame count. That is, whether the animation is set to have a duration of 100ms or 5000ms, it's only gonna be 5 frames.

Reproducing the issue

Use a revealer widget, fiddle with parameters, profit.

Expected behaviour

I guess it should have a fixed framerate rather than frame count.

Additional context

No response

Vermoot avatar May 23 '22 22:05 Vermoot

Can't seem to reproduce this 👀

elkowar avatar May 26 '22 11:05 elkowar

Ok so without a defined :transition property, you get the default opacity transition, which is fine, but when you specify a different :transition it'll be affected. slide-down etc do have a fixed frame count.

Vermoot avatar May 26 '22 13:05 Vermoot