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

Ensemble nodes are auto unhovered after the fix for RT-20486

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows

      Description

      Run Ensemble on Windows (I don't know if the bug is specific to this platform). Move mouse over one of the rounded rectangles to the right. The rectangle should be highlighted and animation inside should start playing. However, after a few seconds or even less, the rectangle gets unhovered and animation stops, while the mouse cursor is still over there. Then it may or not be hovered again.

      It's unknown if this is a problem with Ensemble or SceneGraph. However, if I comment the following line (*) in the code below (javafx.scene.Scene, MouseHandler inner class):

              private void pulse() {
                  if (hover && lastEvent != null) {
                      //Shouldn't run user code directly. User can call stage.showAndWait() and block the pulse.
      (*) Platform.runLater(pickProcess);
                  }
              }

      the problem disappears.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              psafrata Pavel Ĺ afrata
              Reporter:
              art Artem Ananiev
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: