Dragging on the page does not take effect when opening OSR when creating JCEF browser

Answered

val jbCefBrowser = JBCefBrowser.createBuilder()
    .setEnableOpenDevToolsMenuItem(openDevtools)
    .setOffScreenRendering(true)
    .build()

What else do I need to implement after enabling OSR

0
3 comments

Hi,

I'm sorry but I don't understand your question. Please describe the problem in detail.

0

Sorry, maybe I didn't explain it clearly. I developed an IDEA plugin that uses JCEF and sets Offscreen Rendering. After loading the page, dragging and dropping it on the page failed; But when Off screen Rendering is turned off, it can actually be dragged. What else do I need to do when setting up Offscreen Rendering to not affect the drag and drop function of the webpage?

0

Hi,

It is still unclear what you are trying to do. I've got an information that drag'n'drop between different windows is not supported in OSR out-of-the-box and an additional effort might be needed. Suggestions:

  1. If it is possible, avoid using OSR.
  2. Check the OSR drag'n'drop API: CefDragHandler.java and CefBrowser_N#drag* methods. If this API is not enough, please create an issue on youtrack.jetbrains.com (project: JetBrains Runtime, Subsystem: jcef) and describe your use case in detail.
0

Please sign in to leave a comment.