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

Monocle mouse never get ENTERED state

    XMLWordPrintable

    Details

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

      Description

      In Monocle, a MouseEvent with type MOUSE_ENTERED is never delivered.
      The reason for this is that
      `com.sun.glass.ui.monocle.MouseInput .setState()` will compare the old and the new window, and in case those are different a MOUSE_ENTERED event might be generated.
      The calculations for getting the window based on the state will always return the same instance though.

      Some functionality (e.g. Scene.setCursor()) depends on a MOUSE_ENTERED to be received at least once.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jvos Johan Vos
              Reporter:
              jvos Johan Vos
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: