fix: open DevTools to the Right Instead of Detaching#24
fix: open DevTools to the Right Instead of Detaching#246cobi wants to merge 1 commit intop2plabsxyz:mainfrom
Conversation
|
Hi, I've spent a couple more hours trying to resolve this. I also checked the demo of the Electron Documentation using devtool for webview but failed to: Additionally, I logged the method that checks if DevTools are open, and it returns false, even though DevTools aren’t actually opening. I also tried using a preload script, but I still couldn’t see the actual DevTools. From what I’ve tested, this seems to be a known issue with webviews in Electron. Based on responses from some developers who had similar issues and AI tools, most people end up using either "undocked" or "detach" mode as a workaround. I would really appreciate any help or insights you could provide. Thank you in advance! |
Ah, I see. It might be worth checking how Agregore is handling DevTools: |

Description:
This PR addresses Issue #22, where the DevTools window was detaching instead of docking to the right panel when inspecting elements. The issue was caused by
webContents.openDevTools({ mode: "right" })not applying correctly.Changes Made:
webContentsis correctly targeted for the main browser window and webviews.Steps to Test:
Screenshot
