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

AltTab Window doesn't hide at times on MacOS 12.5 (M1) #1811

Closed
sarthikg opened this issue Jul 24, 2022 · 16 comments
Closed

AltTab Window doesn't hide at times on MacOS 12.5 (M1) #1811

sarthikg opened this issue Jul 24, 2022 · 16 comments
Labels
bug Something isn't working unreproducible Need help from the author to reproduce the issue

Comments

@sarthikg
Copy link

Describe the bug

At times when using Alt + Tab action on the keyboard, the AltTab Window showing the currently opened tabs does not hide automatically. I have to manually press Esc key in order to hide it.

Do note, even after disengaging the Alt & the Tab key, the window does not hide.

Screenshots / video

Screen.Recording.2022-07-24.at.2.04.34.AM.mov

Steps to reproduce the bug

  1. Open any application, or be at home screen.
  2. Press Alt & Tab keys simultaneously to get the AltTab engaged.
  3. Press Tab a couple of times (or even do not press it).
  4. Disengage the Alt and Tab keys
  5. The AltTab window does not disappear
  6. Press the Esc key to disengage it.
@sarthikg sarthikg added the bug Something isn't working label Jul 24, 2022
@vpt-dev
Copy link

vpt-dev commented Jul 28, 2022

Any updates on this? It has been bugging me a lot lately.

@lwouis lwouis added the unreproducible Need help from the author to reproduce the issue label Jul 28, 2022
@lwouis
Copy link
Owner

lwouis commented Jul 28, 2022

I can't reproduce this issue.

Some questions that may help find why it happens on your machine:

  • What keyboard are you using? If not the one from the laptop, what's the physical layout (photo would help)?
  • Did you change the language (macOS calls this Input Source) in macOS?
  • Do you have any software interacting with keyboard inputs (e.g. karabineer, BTT, etc)?
  • macOS version?
  • AltTab version?
  • Intel CPU or Apple Silicon (e.g. M1, M2)?

@hexedpackets
Copy link

I've been running into this issue as well. I have an external keyboard and use Karabiner, which both seem to be requirements for the bug. I've swapped option and command on my external keyboard, did not change the language. Its an ANSI keyboard (Kinesis Freestyle Edge). The only thing I've changed in Karabiner is function keys on the internal keyboard, nothing on the external one.

This is what I've found:

  • AltTab stays open if I move my mouse at all when I hit tab it on my external keyboard and Karabiner running
  • AltTab always closes when my keyboard is disconnected (with or without Karabiner)
  • If Karabiner is not running, AltTab closes when triggering from my external keyboard
  • With my external keyboard and Karabiner running, if my mouse is perfectly still AltTab will close

A related behavior I'm seeing is if I don't move my mouse, trigger AltTab, release tab but keep holding command before moving my mouse then whatever window is highlighted in AltTab will be switched to as if I had released the command key.

This is on an M1 Macbook Pro running 12.4
Karabiner 14.6.0
AltTab 6.46.1

@lwouis
Copy link
Owner

lwouis commented Aug 6, 2022

@sarthikg @vpatel-dev do you also use Karabineer like @hexedpackets?

@sarthikg
Copy link
Author

sarthikg commented Aug 6, 2022

@lwouis , I am not using any keyboard modifier app. Attaching a list of all the applications I have on my system.
image
image

@sarthikg
Copy link
Author

sarthikg commented Aug 6, 2022

@lwouis Additional glitches happening....

All I did was, pressed Alt+Tab key in the beginning.
Released the Tab key, but continued pressing the Alt key.

Untitled.1.mp4

@vpt-dev
Copy link

vpt-dev commented Aug 6, 2022

@sarthikg @vpatel-dev do you also use Karabineer like @hexedpackets?

No.

@lwouis
Copy link
Owner

lwouis commented Aug 6, 2022

@sarthikg it looks like you have multiple AltTab running at once. What shows in Activity Monitor if you search "AltTab" when such behavior happens?

@sarthikg
Copy link
Author

sarthikg commented Aug 6, 2022

@lwouis You are not wrong.
image

Quitting one of them solved all the issues for me. Can you folks also confirm once @vpatel-dev , @hexedpackets ? Will close the issue after your confirmations.

@vpt-dev
Copy link

vpt-dev commented Aug 6, 2022

@lwouis You are not wrong. image

Quitting one of them solved all the issues for me. Can you folks also confirm once @vpatel-dev , @hexedpackets ? Will close the issue after your confirmations.

Sure. The weird thing is, this is not a constant issue. It happens only sometimes. If it ever happens, I will quit one of the AltTab processes, come back here, and let you know what happens.

@lwouis
Copy link
Owner

lwouis commented Aug 6, 2022

Could you try these steps here to try and confirm the root cause? #1840 (comment)

@sarthikg
Copy link
Author

sarthikg commented Aug 6, 2022

@lwouis Should there be a restriction to prevent multiple processes of AltTab from running? I dont see a use-case where multiple processes for it should be required.

@hexedpackets
Copy link

@lwouis You are not wrong. image

Quitting one of them solved all the issues for me. Can you folks also confirm once @vpatel-dev , @hexedpackets ? Will close the issue after your confirmations.

Nope, just one instance running for me.

@lwouis
Copy link
Owner

lwouis commented Aug 6, 2022

@lwouis Should there be a restriction to prevent multiple processes of AltTab from running? I dont see a use-case where multiple processes for it should be required.

A use-case for having multiple processes running at the same time is when you restart AltTab (e.g. in Preferences > General > Reset preferences and restart). The app will start a new instance of itself, then the first instance will quit. For a brief moment, both apps will co-exist. It has never been an issue so far on my machine. I wonder if this restart, or other restart (like what Sparkle does after an auto-update), could be the cause of the multiple instances of AltTab on some people's computer. Though I think it's more likely people have multiple versions installed.

@vpt-dev
Copy link

vpt-dev commented Aug 23, 2022

@lwouis You are not wrong. image
Quitting one of them solved all the issues for me. Can you folks also confirm once @vpatel-dev , @hexedpackets ? Will close the issue after your confirmations.

Sure. The weird thing is, this is not a constant issue. It happens only sometimes. If it ever happens, I will quit one of the AltTab processes, come back here, and let you know what happens.

OK so it turns out quitting one of the processes solves the issue.

@lwouis
Copy link
Owner

lwouis commented Nov 6, 2022

Closing this issue as I believe there is nothing to change on AltTab side. The multiple versions of AltTab is discussed in #1840, and seems to come from the OS, but will be discussed more.

The other issues of complex keyboard/software setups are very likely to be issues external to AltTab. AltTab shortcuts are quite mature at this point, so issues with them represent, for 9 tickets out of 10 that I work on, issues on the author's machine, with software or hardware interfering.

@lwouis lwouis closed this as completed Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unreproducible Need help from the author to reproduce the issue
Projects
None yet
Development

No branches or pull requests

4 participants