lwouis / alt-tab-macos

Windows alt-tab on macOS
https://alt-tab-macos.netlify.app
GNU General Public License v3.0
10.81k stars 326 forks source link

AltTab isn't triggered by command+tab after update to macOS 13.4.1 (c) (22F770820d) #2677

Closed danulqua closed 1 year ago

danulqua commented 1 year ago

Describe the bug

After update to macOS 13.4.1 (c) (22F770820d) AltTab stopped working. I tried to relaunch AltTab and restart my Mac.

Screenshots / video

https://github.com/lwouis/alt-tab-macos/assets/38916225/da707b90-b706-4dab-a1c1-d672939eeeb2

Steps to reproduce the bug

  1. Update to last macOS version: 13.4.1 (c) (22F770820d)
  2. Launch AltTab
  3. Hit the shortcut and see that the native app switcher appears instead of AltTab

Your environment

lwouis commented 1 year ago

Hi @danulqua,

This is surprising. I'm on 13.4 myself. I haven't updated to 13.4.1 yet.

Could you please try and change the shortcut to alt+tab or some other combination? This way we can check if the issue is specific to command+tab, or if it affects every shortcut.

Thank you 🙇

danulqua commented 1 year ago

@lwouis tried with ⌥Tab - it works. It's specific to ⌘Tab. I was always using it with ⌘Tab and my ⌥Tab is for other action in different app.

lwouis commented 1 year ago

It's possible that Apple has broken the private API that AltTab uses to disable the system command+tab. In that case, we would need to forbid users from using the command+tab shortcut, as the system one would always show up first and absorb the shortcut.

I'll try out when I upgrade to 13.4.1.

It's also possible that something else is at play on your machine, like external keyboard, software key rebinders, etc. This possibility is not to be excluded because you're the only one to report this issue so far.

danulqua commented 1 year ago

@lwouis I don't use either external keyboard or software key rebinders etc.

sapoepsilon commented 1 year ago

Hey, I just checked alttab works on my end on 13.4.1(c) with cmd+tab

image

@danulqua check if cmd+tab will work if you disable thumbnails.

Update: it works with a thumbnail on my end too. I am using MacBook m1 max

danulqua commented 1 year ago

@sapoepsilon really, disabling and enabling thumbnails fixed the issue. So strange.

sapoepsilon commented 1 year ago

As far as I remember 13.4.1(c) was an urgent security update. I wonder if Apple's fix can be bypassed as easily as this workaround.

lwouis commented 1 year ago

Good news. I'll close this ticket 👍

danulqua commented 1 year ago

@lwouis the problem is back (seems like after a new macOS 13.5 update), and the tip provided by @sapoepsilon no longer works. AltTab 6.61.0 macOS Ventura 13.5

sapoepsilon commented 1 year ago

@lwouis the problem is back (seems like after a new macOS 13.5 update), and the tip provided by @sapoepsilon no longer works. AltTab 6.61.0 macOS Ventura 13.5

I wonder if updates on your end rewriting permissions on your Mac. Try removing accessibility permissions for alttab

image

Click on alttab, then click "-" icon at the bottom. Then delete the alttab, and reinstall it.

sapoepsilon commented 1 year ago

@danulqua just installed 13.5 on my end. The app works without an issue. I am pretty sure you have some kind of a setup, which is triggered on boot and it is preventing recognition of cmd + tab

danulqua commented 1 year ago

@sapoepsilon I use Hyperkey to bind all modifiers to the right command. Seems like if it was started before AltTab, then it'll be a problem. I exited both apps, then started AltTab first and Hyperkey then, now everything is fine.

wxm809 commented 6 months ago

Also doesn't work for me. I have no other software that could be conflicting to my knowledge, on M1 MBP on 14.4.