RFR: 8277133: Dragboard contents retrieved all over again during a DND process on WebView [v2]

Jose Pereda jpereda at openjdk.java.net
Wed Nov 24 19:42:44 UTC 2021


> 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.

Jose Pereda has updated the pull request incrementally with one additional commit since the last revision:

  Address feedback

-------------

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/680/files
  - new: https://git.openjdk.java.net/jfx/pull/680/files/95d245e7..2d1fbbbe

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jfx&pr=680&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=680&range=00-01

  Stats: 3 lines in 2 files changed: 2 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jfx/pull/680.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/680/head:pull/680

PR: https://git.openjdk.java.net/jfx/pull/680


More information about the openjfx-dev mailing list