alt-tab-macos
alt-tab-macos copied to clipboard
Alt-tab randomly gets stuck on select screen for unknown reason
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
- 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.
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
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 https://github.com/lwouis/alt-tab-macos/issues/3117
I'm facing the same problem ever since i updated to sonoma.
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?
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 π
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 https://github.com/lwouis/alt-tab-macos/issues/3117
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. UPDATE: the problem still persists, but it seems to be more often when there are dynamic windows
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.
I have also experienced this issue on a brand new macbook also on Sonoma
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.
@ILIAink I downgraded to 6.63.0. Unfortunately, it didn't fix the issue for me.
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.
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.
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
This happens constantly for me, to the point where AltTab becomes unusable.
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.
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.
https://github.com/user-attachments/assets/516746d3-19b0-44a2-93ad-33dcc45ebed0
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.
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.
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
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
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 π
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.
https://github.com/user-attachments/assets/4b391942-643c-42c8-80f8-543644219c03
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.
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.
Exactly what happens for me βΒ most definitely this is what is causing it for me. Disabled all input capturing apps, but still happens.
I've been experiencing this for a while. Setting Apparition delay to 0ms rather than 104ms seems to have resolved it. π€
Unable to reproduce by putting my cursor where AltTab will pop up.
I can reproduce as well with the mouse being over the switcher popup when it appears & have nothing like Karabiner installed. If I move my mouse to the side of the screen, I have no issue. If I have my mouse in the center, it happens every time. Wasn't actually aware this was the pattern until I found this thread, but experimenting now that I know to pay attention to where my mouse is that explanation fits perfectly :) I've got >16 windows open, so it takes up most of the screen. My Apparition Delay was already set to 0ms.
I also have this issue, which is caused by the mouse cursor being over the AltTab window, as @albionselimaj said.
However, under controls, I have deselected "Also select windows using mouse hover" and "Cursor follows focus", so this seems like a bug.
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.
Well...it did reappear. I did not reinstall Karabiner Elements. Restarting it seems to help, for a while at least.
Would it help to give Alt-Tab a higher priority compared to BTT / Karabiner etc.? Could Alt-Tab become a "Input Monitoring App?"