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

Newly Opened Windows Lose Focus *(and can't be focused again)* When Quickly Switching with Alt-Tab #3747

Open
DontEatOreo opened this issue Oct 21, 2024 · 8 comments
Labels
bug Something isn't working specific-app Issue which happens only with a specific app unreproducible Need help from the author to reproduce the issue

Comments

@DontEatOreo
Copy link

Describe the bug

When switching between the current and a newly opened window too quickly using Alt-Tab, the new window appears in the Alt-Tab switcher but does not gain focus. Instead, it remains in the background, and only the menu bar indicates the switch.

The only way right now to fix this is to:
A) Completely quit the app
B) Restart Alt-Tab

Screenshots / video

No Delay (Bug Happening):

dc8f.mp4

Delayed (Bug NOT happening):

603f.mp4

Steps to reproduce the bug

  1. Open a new window
  2. Immediately start using Alt-Tab to switch between the current and new window
  3. Notice that while you can Alt-Tab to the old window properly, alt-tabbing or selecting the new window does not bring it to the front, despite appearing in the Alt-Tab menu

Your environment

  • AltTab version: 7.0.2
  • macOS version: 15.0.0
@DontEatOreo DontEatOreo added the bug Something isn't working label Oct 21, 2024
@lwouis
Copy link
Owner

lwouis commented Oct 23, 2024

Hi,

I tried to reproduce with IINA like in your video. I can't reproduce it.

Does it happen with any other app than IINA? I wonder if this resizing animation is the source of the issue. We've had very specific issues with IINA in the past.

Thank you 🙇

@lwouis lwouis added the unreproducible Need help from the author to reproduce the issue label Oct 23, 2024
@DontEatOreo
Copy link
Author

It happens with Telegram too, though I'm not sure how to replicate it exactly. But again, switching too fast on newly opened windows seems to be one of the main factors in this.

I tried to reproduce with IINA like in your video. I can't reproduce it.

Did you try to replicate it via the GUI? I think you would have more success replicating it if you opened it via the terminal and started instantly alt-tabbing

@lwouis
Copy link
Owner

lwouis commented Oct 24, 2024

I tried the same way you did, with the Terminal and open.

Telegram is another app which has issues. There are around 50 tickets here mentionning it.

Any other app than these 2 apps, showcasing the issue?

@DontEatOreo
Copy link
Author

Shottr, I can NEVER Alt-Tab to it, the macOS Alt-Tab works fine with it though

@lwouis
Copy link
Owner

lwouis commented Oct 24, 2024

I couldn't reproduce the issue with Shottr:

Screen.Recording.2024-10-24.at.18.15.32.mov

Could you please share a video?

@DontEatOreo
Copy link
Author

I should've specified but the window of the screenshot is broken...

7bdb.mp4

The other windows in Shottr can be alt-tabbed

@lwouis
Copy link
Owner

lwouis commented Oct 24, 2024

I can't reproduce on my machine:

Screen.Recording.2024-10-24.at.19.34.18.mov

I wonder what's different on your setup. It's the same major macOS version, AltTab version.

@DontEatOreo
Copy link
Author

Okay, I notice that Lasso makes the issue much worse. I was able to "break" alt-tabbing between IINA with Lasso closed, but it was much harder.

I can alt-tab normally between Shottr and other tabs with Lasso closed

@lwouis lwouis added the specific-app Issue which happens only with a specific app label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working specific-app Issue which happens only with a specific app unreproducible Need help from the author to reproduce the issue
Projects
None yet
Development

No branches or pull requests

2 participants