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

Chrome windows not losing focus if mouse moves #1984

Closed
probablykasper opened this issue Sep 29, 2022 · 4 comments
Closed

Chrome windows not losing focus if mouse moves #1984

probablykasper opened this issue Sep 29, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@probablykasper
Copy link

Describe the bug

Sometimes Chrome windows don't lose focus when you AltTab between them

Screenshots / video

You can see the text fields are focused, and the traffic lights are colored, in both of these windows:

image

Steps to reproduce the bug

  1. Open two Chrome windows
  2. While alt+tab
  3. Move your mouse
  4. Unpress alt+tab
@probablykasper probablykasper added the bug Something isn't working label Sep 29, 2022
@lwouis
Copy link
Owner

lwouis commented Sep 30, 2022

This is either due to how AltTab focuses windows, which is explored in #922 and other tickets like #447, or a bug in Chrome.

@lwouis lwouis closed this as completed Sep 30, 2022
@probablykasper
Copy link
Author

Could it potentially work if the new window receives focus after the AltTab menu is closed? Maybe the old window doesn't lose focus because the AltTab menu is open.

I'm not able to reproduce the issue using the macOS native Cmd+` shortcut, so maybe there's a way

@probablykasper
Copy link
Author

probablykasper commented Oct 22, 2022

@mnin Is there a difference in how Alt+tab and Alt+` focus the window? This issue seems like it might be specific to Alt+`

@lwouis
Copy link
Owner

lwouis commented Oct 22, 2022

@probablykasper no, both shortcuts trigger the same code/events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants