United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8005405 [macosx] Drag and Drop: wrong animation when dropped outside any drop target.
JDK-8005405 : [macosx] Drag and Drop: wrong animation when dropped outside any drop target.

Details
Type:
Bug
Submit Date:
2012-12-21
Status:
Closed
Updated Date:
2013-07-31
Project Name:
JDK
Resolved Date:
2013-02-04
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
Priority:
P4
Resolution:
Fixed
Affected Versions:
7u9
Fixed Versions:

Related Reports
Backport:
Backport:
Duplicate:
Duplicate:

Sub Tasks

Description
When the drag is started a rectangle is drawn at the cursor to indicate the drag. When the drag is over not on any drop target, the rectangle should return to the component at which the drag was started. However, on the mac the rectangle is returning to the wrong coordinates. Probably this is due to the fact that on mac the zero for an y-coord is at the bottom. 

A little test is attached. To reproduce an issue you should start a drag form the textfield, drop it anywhere on the frame and see how the rectangle is moving to the wrong place. 
                                    

Comments
URL:   http://hg.openjdk.java.net/jdk8/awt/jdk/rev/0b56a169295f
User:  serb
Date:  2013-02-04 13:57:13 +0000

                                     
2013-02-04
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/0b56a169295f
User:  lana
Date:  2013-02-12 18:23:17 +0000

                                     
2013-02-12
Hard to write a regression test, as the fix changes native animations.
                                     
2013-05-14
Verified b98!
                                     
2013-07-31



Hardware and Software, Engineered to Work Together