Issue with drag and drop in Java 8 on Windows (7 and 8) (original) (raw)
Ludovic HOCHET lhochet at gmail.com
Tue Feb 19 14:30:48 PST 2013
- Previous message: hg: jdk8/awt/jdk: 8006070: TEST_BUG: Up and down the Y coordinate of the mouse position, the selected item doesn't change for the single list.
- Next message: Issue with drag and drop in Java 8 on Windows (7 and 8)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, I've been investigating an issue that I am currently having on Windows (7 and 8) with drag and drop in Java 8. The issue I'm having is when I drop a file from Windows explorer onto Netbeans the instance of Windows explorer from which I dragged the file freeze until I close Netbeans. I could reproduce it on the simple TopLevelTransferHandlerDemo from the Java Tutorial [1]. After digging down the JDK8 code and comparing it to JDK7 code, I could find a change in sun.awt.dnd.SunDropTargetContextPeer. Reverting the change fixed the issue. Searching the Mercurial repo [2] for changes in SunDropTargetContextPeer showed that the change was introduced last June [3]. Since it is platform dependent and a fix to another issue, I am unsure at what I can do more.
[1] http://docs.oracle.com/javase/tutorial/uiswing/examples/dnd/TopLevelTransferHandlerDemoProject/src/dnd/TopLevelTransferHandlerDemo.java [2] http://hg.openjdk.java.net/jdk8/jdk8/jdk/summary [3] http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/8326709c6315
Thanks in advance,
Ludovic
"Les formes qui differencient les etres importent peu si leur pensees s'unissent pour batir un univers..." Yoko Tsuno (in 'Les titans' by Roger Leloup) [The shapes that differenciate beings are not important if their thoughts unite to build a universe] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20130219/3adfafcb/attachment.html
- Previous message: hg: jdk8/awt/jdk: 8006070: TEST_BUG: Up and down the Y coordinate of the mouse position, the selected item doesn't change for the single list.
- Next message: Issue with drag and drop in Java 8 on Windows (7 and 8)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]