Closed magreenblatt closed 1 year ago
Testing with openjdk11 on Ubuntu 18, when dragging/dropping the element:
With off-screen rendering:
DRAG:
flags: MOVE
CefDragData_N [isLink()=false, isFragment()=true, isFile()=false, getLinkURL()=, getLinkTitle()=, getLinkMetadata()=, getFragmentText()=null, getFragmentHtml()=, getFragmentBaseURL()=, getFileName()=, getFileNames(vector)={}]
[0124/103230.095439:ERROR:validation_errors.cc(117)] Invalid message: VALIDATION_ERROR_UNKNOWN_ENUM_VALUE
[0124/103230.096043:ERROR:interface_endpoint_client.cc(695)] Message [282818484 (bb)](https://bitbucket.org/chromiumembedded/java-cef/commits/282818484) rejected by interface blink.mojom.FrameWidget
Without off-screen rendering:
DRAG:
flags: COPY LINK MOVE
CefDragData_N [isLink()=false, isFragment()=true, isFile()=false, getLinkURL()=, getLinkTitle()=, getLinkMetadata()=, getFragmentText()=null, getFragmentHtml()=, getFragmentBaseURL()=, getFileName()=, getFileNames(vector)={}]
[0124/103054.756520:INFO:CONSOLE(70)] "hi", source: https://fiddle.jshell.net/cb9d6swf/show/?editor_console= (70)
Comparing events between JCEF OSR and cefclient OSR for the drag/drop operation:
JCEF:
dragTargetDragEnter modifiers=2 allowedOps=16
dragTargetDragOver modifiers=2 allowedOps=16
dragTargetDragOver modifiers=2 allowedOps=16
...
dragTargetDrop modifiers=2
dragSourceEndedAt operation=-1
dragSourceSystemDragEnded
cefclient:
DragTargetDragEnter allowed_ops=4294967295
DragTargetDragOver allowed_ops=1
DragTargetDragOver allowed_ops=1
...
DragTargetDragEnter allowed_ops=1
DragTargetDragOver allowed_ops=1
DragTargetDrop
DragSourceEndedAt drag_operation_=1
DragSourceSystemDragEnded
Fix action for OSR drop event (fixes issue #429)
→ <<cset 854af1fb3da9 (bb)>>
Original report by Dave Tarkowski (Bitbucket: David Tarkowski).
With JCEF build from the current version as of 20-Dec-2022 I am not seeing dragend events with running on linux64 with off-screen rendering enabled.
Reproduction steps:
This works fine in the detailed test with windowed rendering available. It also works fine in the current version of Chromium run with a default configuration.