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

Cursor image is not updated immediately

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7u6
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows 7, JDK 7u4, JavaFX 2.2

      Description

      When I set a new Cursor on a component this is not shown immediately. Only when the mouse is moved for the first time after that, the change becomes visible. This is problematic if you want to indicate a change of the edit mode via a change of the cursor image. In my app I can move, rotate and scale the canvas if I hold down the shift key and this should be indicated by different cursor images. But when the user presses the shift key nothing happens, although setCursor has been called. Only when the user moves the mouse after this, the cursor will change. This results in a confusing user experience.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                dpausjfx Dr. Michael Paus (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: