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

Applying two TranslateTransitions in parallel to the same node ignores the first transition and applies only the second.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: fx1.2
    • Component/s: javafx
    • Environment:

      Windows XP, JavaFX 1.1

      Description

      In using Timelines, it is often the case that you create independent timelines to move a node in the x-direction and a second timeline to move the same node in the y-direction. Is it acceptable to do the same task using TranslateTransition? If so, then it doesn't work. It appears that if you don't specify values for fromX and toX (or fromY and toY) then these values get implicit 0's invalidating a previous TranslateTransition that sets them. Note that you don't always want tranlations on x and y directions to be applied within the same time period.

        Attachments

        1. Main.fx
          1 kB
          Gail Anderson

          Issue Links

            Activity

              People

              Assignee:
              kcr Kevin Rushforth
              Reporter:
              gandersonjfx Gail Anderson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: