javafxports / openjdk-jfx

The openjfx repo has moved to:
https://github.com/openjdk/jfx
GNU General Public License v2.0
1.01k stars 145 forks source link

Webview support different data transfer flavors in version Java10 and Java11 #254

Open macdevign opened 5 years ago

macdevign commented 5 years ago

I reporting a issue whereby there is a different data transfer flavors supported for WebView in Java10 and Java11 which cause issue in application that rely on the those flavors.

I dragging a image from a site in JavaFX WebView and dropping in a JLabel component(a drop target). As seen from the image, in Java10 there is 5 data transfer flavors of which one of them is uri-list that I use to extract the url link of the image, however running in Java11, there is only 3 flavors (the 2 text flavors are removed).

I believe this shouldn't be changed as developer rely on consistent behavior to use those feature. Hopefully the JavaFX WebView maintainer can fix this bug in Java11. thank

Tested in MacOS Mojave

screenshot 2018-10-19 at 4 16 24 pm
kevinrushforth commented 5 years ago

Can you provide a simple test program and a set of steps to reproduce this? Also, if you can provide links into the code in addition to the screen shot, that would be useful (the source browser in GitHub makes this easy). Thanks.

macdevign commented 5 years ago

Hi Kevin, Here is the link showing the code and steps to replicate the issue.

thank