JBCefBrowser devtools close issue
Answered
Hi,
I invoked JBCefBrowser.openDevtools(), It will open pop-up development window, when I close the development window, original JBCefBrowser will close also. I dont want to close original JBCefBrowser.
How should I do.
Thanks!
Please sign in to leave a comment.
Hi,
Please provide us with more details. What is your current implementation?
I registered a tool window and added JBTabbedPane to the contents of the tool window
ToolWindow.getContentManager().addContent(new ContentFactoryImpl().createContent(mainTabPane, "", false))
the JBTabbedPane's tab content is JBCefBrowser
JBTabbedPane mainTabPane = new JBTabbedPane()
JBCefBrowser browser = new JBCefBrowser();
mainTabPane.addTab(salveTabList.get(i).getLeft(), null, browser.getComponent());
I define the shortcut key to call the developer tool window
It work, but when I close the dev-tool-window the mainTabPane become disable.
Hi,
It seems like a bug. Please report it on: https://youtrack.jetbrains.com/issues/IDEA in the User Interface. Embedded Browser (JCEF) subsystem.
Also, if there is anything in the logs, please attach it to the issue.
Thank you.
ok