idea 2023.2.2 jcef devtools can not open

Answered

hello, i develop a plugin with jcef .i want to  Right-click to pop up devtools. .

i writethe command in custom properties file, it takes effect in other versions.But in 2023.2.2 the devtools can not open. 
No response when right clicking

command eg:

idea.is.internal=true

ide.browser.jcef.contextMenu.devTools.enabled=true

1
10 comments

@Yann Cebron can you help me resolve this question?thank you

0

Ramonfergusonw55005  hello ,you know 2023.2.2 jcef devtools how to open?

0

Karol Lewandowski hi , i deleted another question same with this. i already saw the sdk: https://plugins.jetbrains.com/docs/intellij/jcef.html#debugging   it does not work. I don't know if anyone can help with this problem

0

Heu Majing it's not obvious problem and it needs investigation. Could you please create youtrack issue with simple reproducing algo. (Such reproducer will significantly speedup investigation).

0

hi , Artem Bochkarev  .I don't understand what I need to do?

1. Where to raise an issue?

2. Simple reproducing: Use the idea plugin demo, introduce jcef, follow the sdk operatorhttps://plugins.jetbrains.com/docs/intellij/jcef.html#debugging  。

add these 2 statements to verify that devtools can be opened in 2020.2-2023.1, but not in 2023.2

idea.is.internal=true

ide.browser.jcef.contextMenu.devTools.enabled=true

0

Karol Lewandowski hi ,  can you help me resolve this question? it is general question, if the plug-in uses the jcef framework

0

Artem Bochkarev hi ,  i find 2023.1 also can not open devtools . Two months have passed, is there a solution?

0

Has this problem been solved?

0

Heu Majing Hey I'm dealing with the same issue. Did you make an issue on YouTrack yet? https://youtrack.jetbrains.com/issues/IDEA

0

Update: I played around with the settings some more and it turns out that if you enable osr (ie “off-screen rendering”), then it disables the context menu. Osr can be disabled by making sure “ide.browser.jcef.osr.enabled” is off in the registry (it supplies the default value for OSR for new JBCefBrowsers that are made), or manually setting it false through the builder via `JBCefBrowser.createBuilder().setOffScreenRendering(false)`.

0

Please sign in to leave a comment.