Setting Cursor on StackPane not working properly on Mac

XMLWordPrintable

    • Type: Bug
    • Resolution: Incomplete
    • Priority: P4
    • None
    • Affects Version/s: 7u21
    • Component/s: javafx
    • Environment:

      Mac-OSX, Windows XP/7 32/64 bit.

      Hi,

      I applied the bellow code to apply Close-Hand Cursor on the StackPane on mouse-Move event but when we move mouse over StackPane it seams for certain region it is not showing the Open-Hand cursor even though the pointer of mouse moved over StackPane.

      Here is the code.

      stackPaneObj.setOnMouseMoved(new EventHandler<MouseEvent>(){
                  @Override
                  public void handle(MouseEvent event) {
                      setCursor(Cursor.CLOSED_HAND);
                  }
              });

      Will send the Screen shot externally to the assigned person,as I do not have facility to attach file with this bug.

      One More issue with Cursor:--

      If I used Cursor.OPEN_HAND cursor type then it shows open hand cursor on Mac but on Windows it is showing closed hand in the place of open hand.





            Assignee:
            Pavel Ĺ afrata
            Reporter:
            Rahul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: