Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Drag and Drop Issue in Java 7/8 on OSX Using CViewEmbeddedFrame

James PeltzerMar 13 2014

Hi all.
I'm not entirely certain how to file a bug against Java but there appears to be an issue in the EmbeddedFrame implementation created for Java 7u40 for use in SWT by the SWT_AWT Bridge.

Platform Mac OSX 10.8.5 (though the bug has also been noted in 10.9 and 10.7.3)

Java Version: 1.7.0u51 (though it has also been seen in Java 7u40/u45 and Java 8 b132)

I am using a version of SWT 3.8 with the fix to use the new CViewEmbeddedFrame back-ported (though I have also experienced the issue in the current SWT 3.102 code).

Dragging out of the CViewEmbeddedFrame works fine. Dropping onto (or within) the frame has the active part of the DropTarget offset. How much it is offset appears to depend on the distance between the top of the SWT Shell and the AWT Frame.

You can see more information about the bug here https://bugs.eclipse.org/bugs/show_bug.cgi?id=428634

Note: The bug report at Eclipse also features a code snippet to demonstrate the issue.

I'm looking for any insight into what might be going on or any workarounds that might be possible.

Help? Please?

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 10 2014
Added on Mar 13 2014
0 comments
1,158 views