Skip to main content

Bug Tracker

Side navigation

#6281 closed enhancement (worksforme)

Opened March 14, 2010 03:13AM UTC

Closed April 16, 2011 11:48PM UTC

Last modified March 14, 2012 02:36AM UTC

Slots for animations

Reported by: AzaToth Owned by:
Priority: low Milestone: 1.6
Component: effects Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

This patch adds slots to the fx mechanism and results in that all animations in a given slot will use the same time quanta.

Attachments (3)
Change History (11)

Changed March 15, 2010 12:15AM UTC by AzaToth comment:1

A more detailed reason for this:

When multiple animations are meant to be executed in "parallel",

currently they will be asynchronous and thus experience an delayed

animation for later elements. To overcome this issue, we add an slot

mechanism which specifies that we can use one single slot for a bunch

of animations, and they all will use the same start time and current

time.

Changed March 15, 2010 10:33PM UTC by AzaToth comment:2

Here is a visual test; the "normal" is what current behavior is, and slotted is when the effect uses the same slot:

http://js.azatoth.net/test/slotted.html

Changed March 17, 2010 11:29PM UTC by AzaToth comment:3

See http://js.azatoth.net/test/slotted2.html for example using second patch.

Changed November 12, 2010 02:40AM UTC by snover comment:4

milestone: 1.4.3

Resetting milestone to future.

Changed November 21, 2010 04:53AM UTC by snover comment:5

priority: → low
status: newopen

Changed December 23, 2010 05:37PM UTC by dmethvin comment:6

milestone: → 1.5

Changed December 23, 2010 05:37PM UTC by dmethvin comment:7

#7490 is a duplicate of this ticket.

Changed January 07, 2011 08:03PM UTC by grevian+jquery@gmail.com comment:8

Would it be possible to have a callback added for when all elements in a particular slot have finished execution? Also I find the terminology of "''slot''" to be a little odd, wouldn't "''set''" or "''group''", possibly prefixed like "''fxgroup''" or "''AnimationSet''" be more appropriate?

Changed January 08, 2011 05:58PM UTC by gnarf comment:9

Another approach to synchronizing animations - http://bugs.jquery.com/ticket/7917 - I opened it having not found this ticket while searching.

Changed March 14, 2011 02:56AM UTC by AzaToth comment:10

Changed April 16, 2011 11:48PM UTC by john comment:11

milestone: → 1.6
resolution: → worksforme
status: openclosed

This was fixed with the resolution of #7917.