Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Add possibility to open DevTools docked to the right even with Windows Control Overlay enabled #42079

Open
3 tasks done
pmadhur opened this issue May 8, 2024 · 0 comments

Comments

@pmadhur
Copy link

pmadhur commented May 8, 2024

Preflight Checklist

Problem Description

If Windows Control Overlay is enabled, it is not possible to programmatically open DevTools docked to the right. Manually it is possible to dock to the right, but unfortunately, last docked state is not preserved.

If Windows Control Overlay is disabled, it works as expected.

In our application, we almost never use main window web contents, we use many browser views and we make sure that the browser views never occupy the main window title bar.

Electron Fiddle gist shows the problem.

Proposed Solution

When Windows Control Overlay is enabled, add possibility to disable the default detached mode, it should work the same way when Windows Control Overlay is disabled.

If DevTools covers the default title bar buttons (min, max, close), developer has the possibility to override this by programmatically opening it in detached mode, but with default detached mode, it is not possible for a developer to programmatically open DevTools docked to the right.

Alternatives Considered

I could not find any possibility to disable the default detached mode. Docking to bottom works, but many of our developers prefer docking to the right.

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant