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

Sometimes my tab gets "stuck" and "unstoppable" looping through open apps can be stopped only with escape #3839

Closed
viking1304 opened this issue Nov 12, 2024 · 19 comments
Labels
bug Something isn't working unreproducible Need help from the author to reproduce the issue

Comments

@viking1304
Copy link

viking1304 commented Nov 12, 2024

Describe the bug

I am using cmd+tab as my shortcut, with preview. Everything worked absolutely fine, until the last update.

After I updated to the latest version, sometimes my tab gets "stuck" and "unstoppable" looping through open apps starts. Looks like i can stop it only if I press escape.

I am not sure when this exactly happens, but I will pay attention, and add more information later. I am currently using my MacBook without external monitor or keyboard, and I do not notice this problem at this moment.

Those are things that I plan to test:

  • macbook without external keyboard or monitor
  • macbook with external keyboard but without external monitor
  • macbook with external monitor but without external keyboard
  • macbook with external monitor and keyboard

If you have any more ideas what I could test, let me know and I will.

This happens even without external keyboard or monitor and its most probably related to #3840 or even the same issue.

Steps to reproduce the bug

  1. Set shortcut for switch to cmd+tab
  2. Use that shortcut
  3. Looping through app list cant be stopped unless you use escape

Your environment

  • AltTab version: 7.3.0
  • macOS version: 15.1
  • Other relevant info: external MX Keys Mini keyboard with Logi Options+ version 1.84.641293, using external monitor (but happens even without any of them)
@viking1304 viking1304 added the bug Something isn't working label Nov 12, 2024
@lwouis
Copy link
Owner

lwouis commented Nov 12, 2024

Hi,

We had something similar in #3117. We thought it was fixed.

Could you please share a recording of your screen when it happens?

Also, are you sure there is only 1 instance of AltTab running? (e.g. only 1 icon in the top menubar? Multiple instance will create crazy flickering/issues.

Thank you 🙇

@lwouis lwouis added the unreproducible Need help from the author to reproduce the issue label Nov 12, 2024
@viking1304
Copy link
Author

Could you please share a recording of your screen when it happens?

Im fully aware that you can't do anything unless you reproduce the issue, or at least see what is happening with your own eyes. Unfortunately, recording this might be tricky. I am still not fully aware when it happens, since it happened just a few times today. As far as I am aware I was not doing anything else than what I usually do (just switching the active window). Most of the time, everything worked without any issue, but sporadicly this happened. Bugs that happens only under specific conditions are the worst for debugging, especially if you can't figure out the actual steps the reproduce the issue.

The other issue is that each time this thing stopped after I pressed escape, so I suspect pressing any other key will do the same, and that includes triggering the screen recording. Next time I notice this, I will first record the video with my phone, and than I will try do to screen recording.

And the last issue is that I am using preview, and this is my work computer, so I can't send any video with work related data. It would be easiest to disable previews, but I am not sure if this will happen with previews off. If that issue you mentioned happened with and without previews, I will disable previews right now. Otherwise I will need to play with this laptop when I am not working, in order to be able to close apps with sensitive data.

I am trying to make it happen again since you posted this, but without luck. Everything works normal. 🤷🏻‍♂️

Also, are you sure there is only 1 instance of AltTab running? (e.g. only 1 icon in the top menubar? Multiple instance will create crazy flickering/issues.

My icons like to hide themselves under the camera cutout, which really grind my gears, so I can never rely on that. Activity monitor shows only one process.

@vladunev-tomtom
Copy link

I'd like to confirm that I also have seen similar behavior - Alt-Tab stuck in open state after releasing the key combination.
The other case, looping though all open apps, has been happening for a long time. I think it's related to
a) me using graphically demanding programs on a laptop without a graphic card ;) (macbook pro M1)
b) macos giving low process priority to Alt-Tab (this in mswindows terms, not sure how much sense this makes on a mac)

@danzou56
Copy link

This is something I've experienced as well but have held off on filing a bug report due to the poor reproducibility (and also the fact that it only seems to happen on my work machine which is harder to move files off of). I will remark that the machine I see the problem on is a 16" M3 Max machine, but it felt like it happened more when I used to use an 16" Intel Core i9 based machine.

I will also try to see if I there are any conditions that can potentially reproduce the issue or if external peripherals are causing the issue. My work machine also has Logi+ installed.

@viking1304
Copy link
Author

For the whole day I didn't had any single glitch, but one just happened a few seconds ago. I was switching apps as usual an then it started looping through the list until it reached the end. Than it just stoped and I cant reproduce that again, even I haven't closed or opened any single app. 🤷🏻‍♂️ If I counted correctly I have 26 windows open at this moment, but CPU is on about 15%, and memory is around 60%. I am not doing any excessive task at this moment.

@leaderkent
Copy link

I think I have the same issue. My shortcut is control + tab. After upgrade the app, the first time I press the shortcut is normal. And after that, when I press the shortcut again, it show the app list as usual, but the focus automatic switches from first app to the end again and again. Maybe it is the same looping as the title said?

@lwouis
Copy link
Owner

lwouis commented Nov 14, 2024

@vladunev-tomtom @danzou56 @viking1304 @leaderkent are you all also on AltTab v7.3.0?

Thank you

@viking1304
Copy link
Author

viking1304 commented Nov 14, 2024

Yes, I am using 7.3.0.

I have never experienced this before 7.3.0. Everything worked smoothly until the last update.

EDIT: 7.3.0 also works absolutely fine 99% of the time, but in a few sporadic situations this glitch occurred.

@vladunev-tomtom
Copy link

vladunev-tomtom commented Nov 14, 2024

I was experiencing this on 7.xx.
Since yesterday I'm back on 6.73 and it has not happened. I havent restarted the machine, same programs are running.

@leaderkent
Copy link

@vladunev-tomtom @danzou56 @viking1304 @leaderkent are you all also on AltTab v7.3.0?

Thank you

I have the issue on v7.3.0 and I'm back to v6.72.0 now.

@michaelomichael
Copy link

I've experienced the same issue. I first noticed it happening with v6.72.0. Reverting to an earlier version seemed to help, although I don't see any changes that would explain why. After a while it started happening again.

It's definitely linked to CPU usage for me - any time I have CPU-heavy processes running, there seems to be a delay between the keydown event (the one that causes AltTab popup to appear) and the corresponding keyup event - often several seconds. The result is that the popup appears, detects that the key is down, and starts moving the selection down through the list of windows automatically.

Perhaps it would be possible to wait for a keyup event before allowing the selection to start scrolling like this?

@basil-gray
Copy link

Been noticing this for months, including on 7.5.0 that I updated to today. Like michaelomichael mentioned, it also only happens for me when I'm heavily multitasking with a lot of apps running. I'm on an M1 8GB Macbook AIr.

@lwouis
Copy link
Owner

lwouis commented Dec 1, 2024

Hi,

I've shipped a potential fix or this in v7.6.0. Could you please try it out, and let me know if the issue is gone?

Thank you 🙇

@basil-gray
Copy link

7.6.0 is looking promising so far. I'll use it for a few more days and see how it goes.

@viking1304
Copy link
Author

I've shipped a potential fix or this in v7.6.0. Could you please try it out, and let me know if the issue is gone?

Thank you very much. I am on 7.6.0 now. I will report back how it goes.

@michaelomichael
Copy link

Thanks so much for getting this new version out so quickly. I've been using v7.6.0 all day and it's been behaving perfectly, even under heavy load, so I think this may have sorted it. 😄

@basil-gray
Copy link

Hasn't happened for the two days I've been on 7.6.0. Thanks for the awesome update.

@imkebe
Copy link

imkebe commented Dec 4, 2024

I can also confirm the 7.6.0 version seems to fix the issue.

@lwouis
Copy link
Owner

lwouis commented Dec 4, 2024

Hi,

Wonderful! I'll close this issue for now. If you see issues on the latest version, please let me know here. If the issue is a big different, please open a new one.

Thank you everyone for your help 🙇

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

8 participants