JDK-8107955 : Regression: Default cursor is seen on shapes instead of other cursor types
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2009-08-27
  • Updated: 2015-06-16
  • Resolved: 2009-08-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
fx1.3Fixed
Related Reports
Relates :  
Description
I have Rectangle and a SVGPath, the cursor type set to the Rectangle is a MOVE cursor and to the SVGPATH it is WAIT cursor.
But I am seeing default cursor on both of them instead of Move and Wait cursors.
This I reproduced on Soma b01, works fine with 1.2.1 b06.

Steps to reproduce:

1.Run the attached testcase CursorsTest.fx
2.Move the mouse over the shapes
Comments
Verified with soma b25
24-02-2010

details: http://jfxsrc.sfbay.sun.com/javafx/soma/scrum/graphics/tests/rev/f86b995e057e changeset: 346:f86b995e057e user: tdv date: Mon Aug 31 13:29:25 2009 -0700 description: Fixed RT-5541: Regression: Default cursor is seen on shapes instead of other cursor types details: http://jfxsrc.sfbay.sun.com/javafx/soma/scrum/graphics/runtime/rev/2c00bd387027 changeset: 3527:2c00bd387027 user: tdv date: Mon Aug 31 13:30:00 2009 -0700 description: Fixed RT-5541: Regression: Default cursor is seen on shapes instead of other cursor types
31-08-2009

This was caused by the fix for RT-5280. In the absence of a mouse listener, we no longer pick in all cases, which means that the cursor will not be set unless there is a mouse listener on the node. This one should be easy to fix by also checking whether a cursor has been set on the node.
28-08-2009