Integrated: 8277133: Dragboard contents retrieved all over again during a DND process on WebView
Jose Pereda
jpereda at openjdk.java.net
Wed Nov 24 20:12:07 UTC 2021
On Wed, 24 Nov 2021 10:35:50 GMT, Jose Pereda <jpereda at openjdk.org> wrote:
> This PR improves drag and drop events on a WebView node, by generating the content from the dragboard only when the drag events starts, and not for every drag over event.
>
> A manual test is included that shows how the drag and drop experience improves, especially when dragging online images, as the time between each consecutive drag over event drops from hundreds of ms to tens of ms or even lower.
>
> This PR is somehow blocked by #668, as dragging some images fails on macOS.
This pull request has now been integrated.
Changeset: 423e1be1
Author: Jose Pereda <jpereda at openjdk.org>
URL: https://git.openjdk.java.net/jfx/commit/423e1be18b62b92d3a2355d91243ee6fb29f237f
Stats: 101 lines in 5 files changed: 91 ins; 0 del; 10 mod
8277133: Dragboard contents retrieved all over again during a DND process on WebView
Reviewed-by: kcr
-------------
PR: https://git.openjdk.java.net/jfx/pull/680
More information about the openjfx-dev
mailing list