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
Starting devtools with activate: false makes it so that clicking on the main window does not bring it to the front #19285
Comments
This is also an issue in Electron 7.1.2 |
Doesn't seem to happen in 8.2.3 but activate=false does nothing, the devtools window is always brought to the foreground :/ |
@darkguy2008 I can repro with 8.2.2. activate=false will keep the devtools window unfocused, but the problem is that focus doesn't go into my actual page. activate=true will truly focus the devtools window, so it does have some effect. |
@pushkin- not in my case though, how are you calling the main window? in my case I do this:
Setting activate: true or false in my case has no effect :( so I had to move the windows to separate monitors on launch so I could see the devtools window first. |
@darkguy2008 I'm not using |
Still a problem in Electron 10.1.2 |
This issue still happens on version 19.0.10. Activate flag does nothing and the devtools panel or window always get the focus. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
still repros with Electron 21. Gist |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
repros in v22, gist |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
bump |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
bump |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
repros in v27 |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
bump |
Preflight Checklist
Issue Details
Expected Behavior
When I open devtools with
activate: false
, and the devtools appears in front of the main window, I expect that clicking on the main window will focus it and bring it to the front.Actual Behavior
When doing the above, the main window does not get sent to the front, but it does get focus.
To Reproduce
main.js:
Run
npm start
. Make sure that devtools is at least partially covering the main window. Notice that clicking on the main window that's in the back does not bring it to the front.Observations:
The text was updated successfully, but these errors were encountered: