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

Alt-tab randomly gets stuck on select screen for unknown reason #3567

Open
pawelkontek opened this issue Aug 25, 2024 · 24 comments
Open

Alt-tab randomly gets stuck on select screen for unknown reason #3567

pawelkontek opened this issue Aug 25, 2024 · 24 comments
Labels
bug Something isn't working unactionable Further action is not possible due to lack of information or support unreproducible Need help from the author to reproduce the issue

Comments

@pawelkontek
Copy link

pawelkontek commented Aug 25, 2024

Describe the bug

The Alt-tab randomly gets stuck on the select screen for an unknown reason. Please see video.

Screenshots / video

(It is best to watch with sound to understand when I am pressing cmd+tab to switch tabs)
https://github.com/user-attachments/assets/645529ef-be38-4d88-b1d4-214abe82b09b

Steps to reproduce the bug

  1. Just use alt tab.

Your environment

  • AltTab version: Version 6.72.0
  • macOS version: Sonoma 14.5 (23F79)
  • Other relevant info: Using MBP 14". Using Karabiner.
@pawelkontek pawelkontek added the bug Something isn't working label Aug 25, 2024
@qvanphong
Copy link

I'm facing same problem, sometime if I press Alt Tab too fast, the tab select automatically move from left to right until end of list of windows

@lwouis
Copy link
Owner

lwouis commented Aug 27, 2024

Hi,

Thank you for sharing this issue.

I can't reproduce it. I reproduced your exact inputs as well, and it doesn't get stuck.

Only idea I have is that you may have other apps on your setup which intercept events, and absorb the keyUp event. This would mean AltTab doesn't see them, thus never goes away.

Do you use BTT, Karabineer, external keyboards, logitech things, etc?

Thank you 🙇

@qvanphong what you describe sounds more like #3117

@lwouis lwouis added unactionable Further action is not possible due to lack of information or support unreproducible Need help from the author to reproduce the issue labels Aug 27, 2024
@milosoria
Copy link

I'm facing the same problem ever since i updated to sonoma.

This was referenced Aug 29, 2024
@pawelkontek
Copy link
Author

pawelkontek commented Aug 29, 2024

Do you use BTT, Karabineer, external keyboards, logitech things, etc?

I use Karabiner, but I was also able to reproduce this bug with Karabiner completely turned off.
I use BTT 🤡
No external keyboards or Logitech (as of recording this bug) – it is possible that the Apple keyboard and trackpad were connected via Bluetooth but not active.

Only idea I have is that you may have other apps on your setup which intercept events, and absorb the keyUp event

Isn't karabiner elements showing what the computer (?) is recording?

@lwouis
Copy link
Owner

lwouis commented Aug 29, 2024

Karabiner and BTT both listen to keyboard events, and do things with it. In some cases, they may absorb the event.

For instance, if you set Karabiner to remap E to L, when you press E, it will create keyUp event for the letter E. Karabiner will absorb it, and re-emit a new event for the letter L. At least I believe they do something like this. I know for a fact that these apps can absorb events, then AltTab doesn't receive them. Many users have shared issues with AltTab that were actually due to their setup.

Could you please test with BTT and Karabiner not running, and no external keyboard? I think that should confirm if they were the cause, which is the most likely explanation.

Thank you 🙇

@qvanphong
Copy link

qvanphong commented Aug 29, 2024

Do you use BTT, Karabineer, external keyboards, logitech things, etc?

Hi @lwouis , I'm not using any other external device. I'm not remember exactly when this happen, maybe after update Sonoma?

My issue is same as #3117

@nasedil
Copy link

nasedil commented Sep 5, 2024

I had the problem when updated to Sonoma. Then I disabled the blue capslock indicator popup in macos and now it seems working normal as before.

@scriptogre
Copy link

I had the exact same issue for months, but have not found anyone else facing it. Finally there's someone else. I am also using Karabiner, but I can confirm that this also happens with Karabiner stopped.

@ctrl-cheeb-del
Copy link

I have also experienced this issue on a brand new macbook also on Sonoma

@ILIAink
Copy link

ILIAink commented Sep 8, 2024

I unfortunately don't have a solution, but just bumping this since I am facing the same issue.

Edit: If anyone just wants to make it work again, I suggest downgrading to version 6.63.0. This fixed the issue for me.

@pawelkontek
Copy link
Author

@ILIAink I downgraded to 6.63.0. Unfortunately, it didn't fix the issue for me.

@aoli-al
Copy link

aoli-al commented Sep 10, 2024

I also had this issue for a while. After some debugging, I noticed that the bug went away after I disabled Chrome's input monitoring permission.

image

@lwouis
Copy link
Owner

lwouis commented Sep 11, 2024

Thank you @aoli-al
Anyone else gets the issue to go away by removing Chrome's Input Monitoring permissions? If yes, that would indicate that it was Chrome stealing inputs in some cases.

@Yazi27
Copy link

Yazi27 commented Sep 11, 2024

No, I use Brave and it is not doing any input monitoring, this issue is really annoying I find myself constantly switching between Brave and VSC, I may have to find an alternative since it seems they are sleeping on this issue

@multi-io
Copy link

This happens constantly for me, to the point where AltTab becomes unusable.

@AfzalivE
Copy link
Contributor

AfzalivE commented Sep 12, 2024

For me, disabling Karabiner's 3 input monitoring applications fixed it, re-enabling them still keeps the fix. Didn't have any other input monitoring apps enabled.

@pawelkontek
Copy link
Author

The bug still persists for me, even after disabling monitoring apps.

I am going to disable alt-tab and use macOS regular switcher, and see if it also gets stuck.

Bug.still.alt.tab.mp4

@albionselimaj
Copy link

albionselimaj commented Sep 13, 2024

This is happening when the mouse cursor is positioned over the AltTab popup. Hiding window thumbnails in AltTab Appearance settings helps with this as it reduces the chances of the cursor being over the popup area.

@multi-io
Copy link

This happens constantly for me, to the point where AltTab becomes unusable.

Update: I had Karabiner Elements running, wasn't really using it anymore. Disabled it and restarted, and it looks like the problem is gone.
I still have Rectangle with a whole bunch of keyboard mappings running, and this would be much harder to replace or stop using, but so far it doesn't seem to interfere with AltTab.
I will report back if the issue reappears.

@ctrl-cheeb-del
Copy link

just wanted to say, I was experiencing this issue but took @ILIAink suggestion of downgrading to 6.63.0 seemed to fix it for me

@Yazi27
Copy link

Yazi27 commented Sep 13, 2024

I don't have Karabiner, the issue does arise when my mouse is somewhere around where the windows appear as @albionselimaj mentioned, it would be nice to add a feature to disable entirely disable cursor as an easy fix, or maybe disable it when its not moving?

Would be nice if a dev answers

@lwouis
Copy link
Owner

lwouis commented Sep 14, 2024

Hi,

A lot of cases in this threads have been confirmed to be caused not by AltTab having a bug, but by another app stealing a keyboard input.

It's hard to investigate more without being able to ever reproduce the issue on my machine. Soon, we'll add a logger to AltTab. It will allow for casual users to share logs here. These will help us investigate such issues that happen only on some people setups.

Thank you 🙇

@Yazi27
Copy link

Yazi27 commented Sep 14, 2024

Any solution regarding the cursor being on the way of the windows making the cycle get stuck, even cycling by itself? I'll provide a video.

Screen.Recording.2024-09-14.at.20.15.46.mov

@hikariatama
Copy link

I was testing different versions trying to figure out, which one does not have the issue mentioned, because I had it. I tried all version starting from 6.63.0 up to the latest one. I do not have a slightest idea why, but the issue fixed itself and currently I am not experiencing it on the latest version. Weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unactionable Further action is not possible due to lack of information or support unreproducible Need help from the author to reproduce the issue
Projects
None yet
Development

No branches or pull requests