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

Monocle mouse never get ENTERED state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • jfx17
    • jfx17
    • javafx
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: