Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8237748

Animations with autoreverse do not play backwards after finishing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3
    • tbd
    • jfx13, 9
    • javafx
    • None
    • Fix Understood

    Description

      Quoting from https://github.com/openjdk/jfx/pull/82#issuecomment-575824678

      Here are the steps I used:

      1. Run TimelineTest2 (see the linked issue JDK-8210238)
      2. Select cycle=2; Select AutoReverse
      3. Play animation: it correctly goes forward from start to end and then backwards from end to start
      4. Set rate=-1
      5. Play animation: BUG? It still goes forward from start to end and then backwards from end to start
      Subsequent calls to play do what I would expect, in that it goes backwards from end to start and then forward from start to end.
      The same thing happens when switching back to rate=1 : the first time it continues the direction it was prior to changing the rate.

      Attachments

        Issue Links

          Activity

            People

              nlisker Nir Lisker
              nlisker Nir Lisker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: