Preflight Checklist
Electron Version
40.2.1
What operating system(s) are you using?
Windows
Operating System Version
Microsoft Windows [Version 10.0.26200.6899]
What arch are you using?
x64
Last Known Working Electron version
38.8.0
Does the issue also appear in Chromium / Google Chrome?
No
Expected Behavior
DevTools popup UI should work normally inside the custom detached DevTools window, including:
- Toolbar dropdowns (e.g. Console filters)
- Overflow/chevron menus (e.g. >>)
- Right-click context menus in panels
Actual Behavior
DevTools opens and panels render, and controls show hover/pressed/active states, but menus/popups never appear when clicked. This affects multiple DevTools UI elements, suggesting a general popup/menu rendering issue rather than a single panel bug.
Testcase Gist URL
https://gist.github.com/6e3cb66842c73197073debfa83c98e27
Additional Information
When hosting Chromium DevTools in a custom BrowserWindow using webContents.setDevToolsWebContents() and opening DevTools in detached mode, the DevTools UI renders and is mostly usable, but popup menus do not open (dropdowns, overflow chevrons, context menus, etc.).
Preflight Checklist
Electron Version
40.2.1
What operating system(s) are you using?
Windows
Operating System Version
Microsoft Windows [Version 10.0.26200.6899]
What arch are you using?
x64
Last Known Working Electron version
38.8.0
Does the issue also appear in Chromium / Google Chrome?
No
Expected Behavior
DevTools popup UI should work normally inside the custom detached DevTools window, including:
Actual Behavior
DevTools opens and panels render, and controls show hover/pressed/active states, but menus/popups never appear when clicked. This affects multiple DevTools UI elements, suggesting a general popup/menu rendering issue rather than a single panel bug.
Testcase Gist URL
https://gist.github.com/6e3cb66842c73197073debfa83c98e27
Additional Information
When hosting Chromium DevTools in a custom BrowserWindow using webContents.setDevToolsWebContents() and opening DevTools in detached mode, the DevTools UI renders and is mostly usable, but popup menus do not open (dropdowns, overflow chevrons, context menus, etc.).